Page 2 of 2
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 10:34 am
by Onepamopa
[L2J Game Server]
forcegc
RAM Used: 918
hm, that's interesting.
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 10:40 am
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!
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 10:43 am
by _DS_
So, this is not a leak (at least not significant), but only garbage.
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 10:45 am
by Onepamopa
well, garbage.. what can I do about it?
it fills the whole ram ..
gracia final never had this kind of problem.
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 10:48 am
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.
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 10:49 am
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....
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 10:53 am
by _DS_
Are you using same jre version now ?
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 10:56 am
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.
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 11:01 am
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)
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 11:03 am
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.. ?
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 11:18 am
by _DS_
Then revert back to final.
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 11:23 am
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
I dont expect this to be resolved in a day, I am a patient man, I'll wait.
Re: Epilogue RAM Issues??
Posted: Fri Mar 05, 2010 12:42 pm
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.