Possible memory leaks?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Possible memory leaks?

Post 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
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Possible memory leaks?

Post by JIV »

- from which rev you updated?
- try use telnet to invoke GC, then check memory consumption
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Re: Possible memory leaks?

Post 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
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Possible memory leaks?

Post by JIV »

if you didn't saw errors it doesn't mean they weren't there.
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Re: Possible memory leaks?

Post 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.
Post Reply