RAM usage issue - 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: RAM usage issue (
/showthread.php?tid=486921)
RAM usage issue -
mirou123 - 11.01.2014
My server is using too much ram when I compile the script it shows this message.
Код:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 29236 bytes
Code size: 5183384 bytes
Data size: 36554180 bytes
Stack/heap size: 120000 bytes; estimated max. usage: unknown, due to recursion
Total requirements:41886800 bytes
I think it only shows up if my strings are too big or there are many functions that keep calling themselves.Anyway,I want to know if there is a way to see how many times a function is called so it will be easier to find the problem in the script.I heard about a filterscript that does that but I don't know the name.I hope you guys know it and thanks in advance.
Re: RAM usage issue -
Biesmen - 11.01.2014
You're using a script that has a shitload of arrays with a huge size.
Re : RAM usage issue -
mirou123 - 11.01.2014
Okay I will work on it thank you.But can you still tell me what is the name of the filterscript that counts how many times a function is called for my own knowledge??
Re: RAM usage issue -
InfiniTy. - 11.01.2014
It's not a filterscript,it's a plugin.
https://sampforum.blast.hk/showthread.php?tid=271129
Re: RAM usage issue -
Pottus - 11.01.2014
MapAndreas ?
Re : RAM usage issue -
mirou123 - 13.01.2014
Okay thank youfor helping guys.And thanks InfiniTy. for the plugin