So I was trying out the server by myself and with some friends on a hamachi server.
Weird thing is, when the server gets online around few hours.. it just randomly freeze and all players get freezed, even if they logout and try to log back in, it will say their account is already logged in, So i will try with my GM account to shutdown the server and I couldn't. (I have 2 channels and I was on another one so I could login) Channel 1 stuck, but channel has no problem shutting down.
So I went around and research.. and I found out. memory leaks.
So I tried it with Netbeans to check out which part is leaking the memory.
And just 1 hour..
HashMap$Entry
LinkedList$Node
And other else, their generations have increased up to almost 20 in one hour.
If based on this, if generations are more than 20, it means memory are leaking..
Or am I wrong?
Weird thing is, when the server gets online around few hours.. it just randomly freeze and all players get freezed, even if they logout and try to log back in, it will say their account is already logged in, So i will try with my GM account to shutdown the server and I couldn't. (I have 2 channels and I was on another one so I could login) Channel 1 stuck, but channel has no problem shutting down.
So I went around and research.. and I found out. memory leaks.
So I tried it with Netbeans to check out which part is leaking the memory.
And just 1 hour..
HashMap$Entry
LinkedList$Node
And other else, their generations have increased up to almost 20 in one hour.
PHP:
http://forum.ragezone.com/f428/source-memory-leaks-642562/
If based on this, if generations are more than 20, it means memory are leaking..
Or am I wrong?