SA-MP Forums Archive
Does this indicate to something good or bad? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Does this indicate to something good or bad? (/showthread.php?tid=377566)



Does this indicate to something good or bad? - Guitar - 14.09.2012

If these information show:

pawn Код:
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:           8908 bytes
Code size:           262196 bytes
Data size:          1553324 bytes
Stack/heap size:      16384 bytes; estimated max. usage=2170 cells (8680 bytes)
Total requirements: 1840812 bytes
is it just some information about the memory the amx required?


Re: Does this indicate to something good or bad? - Silvarray - 14.09.2012

I'm not very sure about this, but you might have a very large amount of arrays or arrays that use way too many cells.. or your script may just be not optimized properly. A properly optimized script shouldn't show this information unless you have specified for it to be shown on compile time.
In other words, in this case, it's definitely not good - it's bad.


Re: Does this indicate to something good or bad? - Guitar - 14.09.2012

Oh God .. So, do you have any idea of how to fix this? How do I optimize my script?


Re: Does this indicate to something good or bad? - xMCx - 14.09.2012

it seems bad o.O
How many lines you used?


Re: Does this indicate to something good or bad? - Silvarray - 14.09.2012

Optimising your script can be a tedious job, and it might take quite a long time, but in the end your script will be faster, more efficient and you can tell everyone you're awesome.
Here's a post ****** wrote regarding this subject: https://sampforum.blast.hk/showthread.php?tid=57018

Also, don't panic. Your gamemode will work fine even if this happens.