1GB of Memory [Help] -
Saurik - 07.06.2010
Hello guys!
Recently i moved to my friends Dedi [Dedicated server] Everything was going well. Out of nowhere, my server took up 1GB of memory in 2 weeks. I checked my files and they are only 5mb...
What causes this? What causes this huge amount of memory being used?
NOTE: I am not using any plugins, and only 3 small filter scripts.
Re: 1GB of Memory [Help] -
Scenario - 07.06.2010
Quote:
Originally Posted by Saurik
Hello guys!
Recently i moved to my friends Dedi [Dedicated server] Everything was going well. Out of nowhere, my server took up 1GB of memory on 2 weeks. I checked my files and they are only 5mb...
What causes this? What causes this huge amount of memory being used?
|
That seems odd. Are you sure your server did that, because the only thing that could do that is if you have like 300+ members? Right click on your
entire server folder, select properties and see what it tells you the size is...
Re: 1GB of Memory [Help] -
Saurik - 08.06.2010
its a memory problem, not diskspace.
Re: 1GB of Memory [Help] -
Scenario - 08.06.2010
Oh, yeah... You confused me. How much total RAM do you have, maybe it's not the server and your PC is sucking up more than you think...
Re: 1GB of Memory [Help] -
Saurik - 08.06.2010
its not a pc.. its a dedicated server...
Re: 1GB of Memory [Help] -
Scenario - 08.06.2010
Quote:
Originally Posted by Saurik
its not a pc.. its a dedicated server...
|
Okay, what the hell does it matter? How much RAM do you have in the "dedicated server"?
Re: 1GB of Memory [Help] -
Saurik - 08.06.2010
8GB
Re: 1GB of Memory [Help] -
MisterTickle - 08.06.2010
Memory Leak maybe? I had a similar problem, It would probably be a good idea to make the script restart at like 4 AM daily or something, Just to refresh everything.
Re: 1GB of Memory [Help] -
iLinx - 08.06.2010
Check your script and your filterscripts, make sure your not creating any large amounts of variables inside functions or callbacks.
Re: 1GB of Memory [Help] -
Sergei - 08.06.2010
Pawn cannot have memory leak since it doesn't have dynamic memory. Making any huge arrays just fills up heapsapce and server crashes soon after.
Do you run any other services on your server except SA:MP server?