Server Memory - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server Memory (
/showthread.php?tid=144752)
Server Memory -
Tom_Dedi - 28.04.2010
Hello,
I have a problem with my server
the server save all accounts, cars .. in MYSQL
but if a user join the server the workmemory from server was constant 15,4 MB
if a user left the server or update his account the workmemory from server go up 2 MB and have than 17,4 MB
with cars and houses need the server after 5 hours 1,9 GB workmemory from server why
only with update I have this problem
here the source from update
http://www.downloads.realoa.de/SAMP/update.rar
-dedi
Re: Server Memory -
iLinx - 28.04.2010
Could be the result, I see you storing it but not freeing it. A server using 1.9GB of RAM though, never heard of that one before, even heavily modded srcds servers dont use that much.
Re: Server Memory -
Tom_Dedi - 28.04.2010
how i fix the problem?
Re: Server Memory -
Memoryz - 28.04.2010
Are you talking about RAM or DiskSpace?
Try restarting the SA-MP server every 2-3 hours to try and clear variables.
Re: Server Memory -
Tom_Dedi - 29.04.2010
this is a good idea but I dont want this
i want fix this problem without restart
i mean RAM not Diskspace
Re: Server Memory -
iLinx - 29.04.2010
free_result, refer to your mysql plugin's documentation to find the function to use to free the data stored by the query.
Re: Server Memory -
Miguel - 29.04.2010
How often is that code getting called?
Re: Server Memory -
Tom_Dedi - 29.04.2010
ever the player account get money or died or left the server
ever the player account updated