Epilogue RAM Issues??

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
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post by Onepamopa »

[L2J Game Server]
forcegc
RAM Used: 918
hm, that's interesting.
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post by Onepamopa »

after this command...
Server Status:
---> Player Count: 196/2500
---> Offline Count: 74/196
+--> Object Count: 66396
+--> AI Count: 43570
+.... L2Item(Void): 308
+.......... L2Item: 20647
+....... L2Monster: 40437
+......... Minions: 3020
+.. Minions Groups: 1916
+........... L2Npc: 3696
+............ L2Pc: 196
+........ L2Summon: 5
+.......... L2Door: 1056
+.......... L2Char: 51
---> Ingame Time: 2:55
---> Server Uptime: 59hrs 28mins 44secs
---> GM Count: 1
---> Threads: 73
RAM Used: 1595
Bye Bye!
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Epilogue RAM Issues??

Post by _DS_ »

So, this is not a leak (at least not significant), but only garbage.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post by Onepamopa »

well, garbage.. what can I do about it?
it fills the whole ram ..
gracia final never had this kind of problem.
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Epilogue RAM Issues??

Post by _DS_ »

This is how java works. If you will monitor memory usage during several hours you will see how it goes up-down. Try to play with commandline options, try different GC strategies. But remember what each massive GC run is a huge lag for players.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post by Onepamopa »

the problem is that it goes up, never goes down....
So... why's that this is working @ final, but not epilogue...
I'm fairly sure that even if I upgrade to 16GB ram, they will be eventually filled to 100%
and I have to clean the garbage every 1-2 hours manually....
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Epilogue RAM Issues??

Post by _DS_ »

Are you using same jre version now ?
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post by Onepamopa »

root@lineage:~# /usr/bin/java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

Same @ 2 identical machines, with identical OS
I dont know if it makes any difference, I compile the core/dp on the server directly.
I dont do them @ windows, and then upload to the server.
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Epilogue RAM Issues??

Post by _DS_ »

No, no... you update jre during migration to the epilogue ?
I still using very old (but working) version:

C:\Program Files\Java\jdk1.6.0_03\bin>java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post by Onepamopa »

at first I didnt do java upgrades, but I started noticing that something's not right
I did upgrade hm.. ~10 days ago..
I'll try with some older version of java to see if there's any difference

The truly interesting thing is ... why this isnt happening @ final.. ?
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Epilogue RAM Issues??

Post by _DS_ »

Then revert back to final.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post by Onepamopa »

Easy said than done...
we were using final, and decided to upgrade to epilogue when GE was released...
we pi?sed most of our users by doing so, so.. I would imagine that if we were to go back
to final.. the users would left our server completely....
That's the reason I'm here, discussing this with you. There has to be solution somewhere, so I decided
to make you aware that this is happening, after all you are the developers :D
I dont expect this to be resolved in a day, I am a patient man, I'll wait.
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Epilogue RAM Issues??

Post by _DS_ »

Use profiler, you will see many interesting things happens inside server.
Just an example: player use wondrous cube. His L2PcInstance will not be garbaged for 24 hours because of this skill usage create task with this length !

For me epilogue and final perform exactly the same. Not so good, but not bad.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Post Reply