Posts: 1,228
Threads: 133
Joined: Oct 2009
Reputation:
0
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.
Posts: 1,228
Threads: 133
Joined: Oct 2009
Reputation:
0
its a memory problem, not diskspace.
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
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...
Posts: 1,228
Threads: 133
Joined: Oct 2009
Reputation:
0
its not a pc.. its a dedicated server...
Posts: 372
Threads: 37
Joined: Jul 2007
Reputation:
0
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.
Posts: 1,498
Threads: 19
Joined: Jun 2009
Reputation:
0
Check your script and your filterscripts, make sure your not creating any large amounts of variables inside functions or callbacks.
Posts: 2,862
Threads: 11
Joined: Mar 2008
Reputation:
0
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?