Posts: 211
Threads: 5
Joined: Feb 2011
Reputation:
0
Is it a Windows or Linux based platform?
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
Hm, probably a plugin problem, or problematic plugin usage.
Scriptwise only playervariables could cause such a ram increase, or recursive functions (functions calling themselves and so looping again and again). You should check for these, but they are quite improbable, as playervariables are deletd when the player leaves, and recursive functions would rather make your server crash or lag like hell.
MapAndreas, sscanf and Whirlpool should be fine, as they all do not assign a lot of memory, and for MapAndreas ive never heard of or experienced such a problem.
Regex? Havent used it, or looked at its source yet, but it also shouldnt assign much ram.
Same for crashdetect and mysql.
So I guess the problem could most likely be the streamer, as streamers need lots of memory assignments when new objects are added. Maybe you are creating an unlimited amount of objects as a result of some buggy loadHouses() or loadMap()-like things.
Hard to say how to check it, as the problem could be anywhere in your script, or even in the plugin itself. Trying to debug problematic script parts like the objectloaders and waiting for someone else who had the same problem is probably the best.
Posts: 41
Threads: 3
Joined: Apr 2008
Reputation:
0
I got that problem too ... ram usage increases till it uses 2 GB in 3 days ...
And then, some things in the server laggs, like race start with checkpoints ... and thats not good.
I'm using BlueG-mysql (R5), streamer (newest version) ..
We really need help with that unfriendly bug!
Posts: 2,082
Threads: 118
Joined: Jan 2010
Reputation:
0
If it helps: I don't get this problem and I'm using the latest streamer and sscanf plugin versions, so I guess it rules those out (unless those plugins, paired with others, are causing the problem).
Guest9328472398472
Unregistered
This could also be your script, depending on how it's processed.