Posts: 1,216
Threads: 59
Joined: Apr 2010
Reputation:
0
My sa-mp server eats more memory everyday the server is on(about +5mb per day). After a server restart everything gets back to normal. So my first guess was that I missed mysql_free_result(). I checked all mysql_store_result() and didn't find any place that mysql_free_result() was missed.
Any other ideas?
How can you be so sure that it's mysql problem. It can also be a problem on OnPlayerUpdate loop or timer loop.
Posts: 1,662
Threads: 199
Joined: Dec 2011
Reputation:
0
Things to check:
1. Does it do something weird at OnPlayerDisconnect?
2. Do you have a lot of oversized strings?
3. Do you use multiple saving systems or just one?
4. Is it a remote MySQL server or local ( remote takes memory for connecting and receiving the data trough a secured connection)
Posts: 48
Threads: 5
Joined: Jan 2012
Reputation:
0
Which plugins are you using?
Posts: 1,216
Threads: 59
Joined: Apr 2010
Reputation:
0
Sorry for bumping, but i really need help.