SA-MP Forums Archive
Compiler Issue - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Compiler Issue (/showthread.php?tid=326746)



Compiler Issue - Soulbad - 18.03.2012

Hey everyone when i compile i get this :

pawn Код:
Header size:           9364 bytes
Code size:           703452 bytes
Data size:          1078172 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4217 cells (16868 bytes)
Total requirements: 1807372 bytes
Anyone has any idea what i need to do?


Re: Compiler Issue - Mauzen - 18.03.2012

You got a lot of big local variables, like
new text[512];
for messages. Reduce their size to better fit the length that could really appear (new text[512]; format(text, 512, "hi %d", playerid); is a bad example).
Then that message will disappear.

You can also increase the stack size, but this would probably just lead to bad style and an inefficient script.