Posts: 737
Threads: 338
Joined: Jan 2013
Hi,
Код:
Header size: 19432 bytes
Code size: 3302720 bytes
Data size: 21626308 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5177 cells (20708 bytes)
Total requirements:24964844 bytes
How to fix that?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
If you compiled your script with debug flags (-d3) or verbose information (-v) then that message will show up. If you don't have either of these set then it means that your script uses too much resources and that you should reduce the size of your local variables.
Posts: 737
Threads: 338
Joined: Jan 2013
But it's only string sizes?
Posts: 737
Threads: 338
Joined: Jan 2013
And does it hurt script, if this warning is?
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
Strings are declared just like arrays, so more precisely it's how much memory you use in variables, ESPECIALLY arrays as they require a lot of memory if they have a lot of cell-data.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
I wanted to create a thread which is related to this information, but since there's already one I'll reply here.
In 0.3e, I had that pawn.cfg file to "pawno\" directory and I could see this kind of information (Header size, Code size, Data size, Stack/heap size, Total requirements), but when I switched to 0.3x even if I have that file, it doesn't show anything. Does anybody know why? I'd appreciate it!