SA-MP Forums Archive
how to know what is the proper value for #pragma dynamic? - 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: how to know what is the proper value for #pragma dynamic? (/showthread.php?tid=431808)



how to know what is the proper value for #pragma dynamic? - yxliang - 20.04.2013

Header size: 19840 bytes
Code size: 3918936 bytes
Data size: 14989396 bytes
Stack/heap size: 997195776 bytes; estimated max. usage: unknown, due to recursion
Total requirements:1016123948 bytes

I know this can solve by add #pragma dynamic, but I don't know what is the proper value a should add(now is 15000000000000000000) and if I don't fix it, will cause server crash?


Re: how to know what is the proper value for #pragma dynamic? - yxliang - 22.04.2013

****** can u tell me?


Re: how to know what is the proper value for #pragma dynamic? - MP2 - 22.04.2013

I believe it's this: Stack/heap size: 997195776 bytes

But I'm not sure. It's definitely not 150000000000000000000000...