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



Stack/heap size - Azazelo - 05.11.2012

I know this asked about 10000 times and i read on forum and sill not get it.

Is it possible to clear local used variable after use form memory (Clear Stack)?
(i know if variable is local her value is null after call but is her allocated memory null instantly or not.)

And how to detect what funcion use most of "it" ?

Any info about this will help?


Re: Stack/heap size - Babul - 05.11.2012

the Performance profiler will help you at figuring out which callback/function gets used most often.
afaik, local variables gets erased as soon the functions returns...


Re: Stack/heap size - Azazelo - 05.11.2012

I can found how to implement or use this plugin, any help ?