04.06.2012, 01:47
(
Последний раз редактировалось Tee; 04.06.2012 в 02:42.
)
I decided to go through optimizing my gamemode. Then I saw that I had 199 "mysql_free_result()" functions and only 165 "mysql_store_result()" functions, so I went through fixing that. Then checked again and had 165 of both functions. So I thought everything was okay. But to my surprise, when I loaded the gamemode, the RAM started to immensely increase (went up to 2,000 in less than 6 minutes)
I'm using BlueG's MySQL plugin. Here's a screenshot:
Does anyone know what could be the problem? Or what could be causing the leak?
Extra information: I locked the server and watched it for a while. With no one online, it was a steady 24.00 MB, but as soon as I connected it started to double (and I'm not yet logged in) I only have 3 freeing and storing functions under OnPlayerConnect.
I'm using BlueG's MySQL plugin. Here's a screenshot:
Does anyone know what could be the problem? Or what could be causing the leak?
Extra information: I locked the server and watched it for a while. With no one online, it was a steady 24.00 MB, but as soon as I connected it started to double (and I'm not yet logged in) I only have 3 freeing and storing functions under OnPlayerConnect.