PtokaX forum

PtokaX => Bugs => Topic started by: Enuri on 07 January, 2010, 21:19:36

Title: Memory leak in PtokaX on Linux
Post by: Enuri on 07 January, 2010, 21:19:36
OS: Linux 2.6.30-gentoo-r8 (i686)
Version: PtokaX 0.4.1.1

Memory usage grows slowly by +100-200 Mb and now is about 900 Mb.
This leak began appearing when user count > 6700-6900.

I tried:

1) !restartscripts (nothing changed)
2) ScriptMan.Restart() (nothing changed)
3) Stopping all scripts (so, in !getscripts, memory usage by scripts is very small, about 5 Mb)
4) Disconnect all online users by script! And then memory usage dropped to ~600 Mb (~250-300 Mb megabytes freed, it is normal for my user count)

If developers need some more information or source code modification to detect this, i'll help :)