Page 1 of 1

Possible memory leaks?

Posted: Sat Jun 19, 2010 4:19 pm
by babyjason
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4287
L2JDP Revision Number: 7492

I observed that since i upgraded these days the server , the memory usage gets huge, in 12 hours gets to 4500 kb Ram. before it took 3 days to get to even 2500...

these is my gameserver start command, i always used this, my question is is this normal, to get over max value 4096 so quickly? i have 7 GB of total ram...

i dont use any mods, except a custom buffer, wich i used since start.

Code: Select all

 java -server  -Xmx4096m -Xms2048m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer

Re: Possible memory leaks?

Posted: Sat Jun 19, 2010 9:32 pm
by JIV
- from which rev you updated?
- try use telnet to invoke GC, then check memory consumption

Re: Possible memory leaks?

Posted: Sun Jun 20, 2010 4:07 am
by babyjason
JIV wrote:- from which rev you updated?
- try use telnet to invoke GC, then check memory consumption
i update with eclipse always, l2j svn, i dont use telnet, i don t use mods with gs, i just tought of notifying devs, cause i usually check these things, memory /cpu consumption, since 1 year ago almost every day, so something is making a huge memory consumption very fast, since the last update, between 4180 and current 4287 .

because, practicaly, 4180 gs was running smoothly, also darkwaterdragon wasnt generating no errors, and now it is,. sometimes... so my guess is after 4180 there is smt, i m sry i can t help with java knowledge, but i m sure of this, like i said, i observe these details every day.

for ex, with 4180 there never was reported this error (onEvtThink() failed: null)

Code: Select all

 WARNING: Actor: L2MinionInstance:Wild Strider(22227)[270324578] -  onEvtThink() failed: nulljava.lang.NullPointerExceptionJun 20, 2010 12:13:05 AM com.l2jserver.gameserver.ai.L2AttackableAI onEvtThinkWARNING: Actor: L2MonsterInstance:Dark Water Dragon(22267)[270369795] -  onEvtThink() failed: nulljava.lang.NullPointerException

Re: Possible memory leaks?

Posted: Sun Jun 20, 2010 6:53 am
by JIV
if you didn't saw errors it doesn't mean they weren't there.

Re: Possible memory leaks?

Posted: Sun Jun 20, 2010 8:37 am
by babyjason
JIV wrote:if you didn't saw errors it doesn't mean they weren't there.
they weren t reported in eror log, i dont want to be nagging, i just reported my humble observations, hope it s helpfull.