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



Stack Warning - milanosie - 24.05.2012

Is this warning serious?


Header size: 18132 bytes
Code size: 1931940 bytes
Data size: 3255156 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 5221612 bytes


Re: Stack Warning - MadeMan - 24.05.2012

Not very, but you should still read this (especially the "Stack usage" part) - https://sampforum.blast.hk/showthread.php?tid=55261


Re: Stack Warning - milanosie - 24.05.2012

I know that already,

but considering my gamemode is 50k lines, It isn't that weird right?


Re: Stack Warning - MadeMan - 24.05.2012

Quote:
Originally Posted by milanosie
Посмотреть сообщение
I know that already,

but considering my gamemode is 50k lines, It isn't that weird right?
I've seen scripts over 100k lines that don't have that warning...

There are some conditions when your server will crash, but it may never happen.