memory 0.3e - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: memory 0.3e (
/showthread.php?tid=342497)
memory usage 0.3e -
ombre - 13.05.2012
Hi,
Since the new version samp the 0.3e, my memory usage increased from 96-120mb max after some days to 360mb in 1 day. I compiled on the identical GM filerscript. I use mysql +streamer plugin v2.6.1+ Whirlpool and some NPC.
It is according to connect, because the ram increases when there are 15-20 persons, from 48 to 72 mb. On the 3d it stayed has 48. More there are many players, more the ram increases.
Thank for your help.
Re: memory 0.3e -
Kar - 13.05.2012
are you using mysql R6? it has memory leaks where the memory can go up 8mb a hour.. I've had it
switch to threaded queries
Re : memory 0.3e -
ombre - 13.05.2012
yes mysql r6 + threaded queries but it's not the pb because on the 0.3d the memory usage is correct now no.
Re : memory 0.3e -
ombre - 14.05.2012
On the 0.3d after some days the ram is max 192mb now after 1-2 days the ram is 360-430mb.
Re: memory 0.3e - kikito - 14.05.2012
npc already use alot of ram, more mysql, streamer and whirlpool, do the jobs.
Re: Re : memory 0.3e -
kaisersouse - 14.05.2012
Quote:
Originally Posted by ombre
On the 0.3d after some days the ram is max 192mb now after 1-2 days the ram is 360-430mb.
|
You need to look closer at those running processes/daemons and see WHICH ones are hogging up memory. Is it the samp03svr process? Is it MySQL?
If you're using linux, install htop (Cent: yum install htop). Its far better than top and may give you more info.
SO many things can cause memory leaks. How much total memory in the server?
Re : memory 0.3e -
ombre - 14.05.2012
Im on volt host. It's just after the upgrade in 0.3e. Profiler.so can give more informations?
Re : memory 0.3e -
ombre - 15.05.2012
update
Re : memory 0.3e -
ombre - 17.05.2012
Edit:It is according to connect, because the ram increases when there are 15-20 persons, from 48 to 72 mb. On the 3d it stayed has 48. More there are many players, more the ram increases.