SA-MP Forums Archive
Stack size - 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: Stack size (/showthread.php?tid=621813)



Stack size - Micko123 - 15.11.2016

Can someone explain me this??
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           5644 bytes
Code size:           295324 bytes
Data size:           139080 bytes
Stack/heap size:      16384 bytes; estimated max. usage=1016 cells (4064 bytes)
Total requirements:  456432 bytes
Should I be worried about it??


Re: Stack size - Vince - 15.11.2016

If it showed up because you compiled with -d3 or -v, then no. You should only be worried if the estimated max exceeds the stack size.


Re: Stack size - Eoussama - 15.11.2016

Use this to get it back to normal:
PHP код:
#pragma dynamic 498088 



Re: Stack size - Konstantinos - 15.11.2016

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
Use this to get it back to normal:
PHP код:
#pragma dynamic 18388 
That's nonsense. The stack/heap size is 4 times smaller than the max and Vince explained why this output was given after compiling.


Re: Stack size - Micko123 - 15.11.2016

It is compiled with -d3. Thx for info guys.. And can someone tell me definition of stack size??


Re: Stack size - SyS - 15.11.2016

A stack is an abstract data type (a region of memory) in which the data are added up twp operation PUSH and POP in LIFO manner (last in first out).You should learn data structure to get more idea about Stacks and Queues


Re: Stack size - Micko123 - 15.11.2016

Will do.. As soon as I get home I am getting on that thx