A little question..

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
guillermokiss
Posts: 99
Joined: Mon May 24, 2010 2:19 pm
Location: Argentina
Contact:

A little question..

Post by guillermokiss »

Hello everyone, can somebody tell me the correct wat to change the RAM amount the Gameserver Console uses? i'm doubt about change something there so i pretty assume that it's better asking to anyone who knows :wink:

Thanks in adavance.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: A little question..

Post by jurchiks »

startgameserver.bat/sh:
java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m
xms - starting memory
xmx - maximum
xmn - minimum

you can also write 2g instead of 2048m
http://www.google.lv/search?q=jvm+memory+allocation

there are some limitations and suggested values, but that's not my field of expertise.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
guillermokiss
Posts: 99
Joined: Mon May 24, 2010 2:19 pm
Location: Argentina
Contact:

Re: A little question..

Post by guillermokiss »

Ah, well thanks a lot jurchiks, will check this now
User avatar
poltomb
L2j Veteran
L2j Veteran
Posts: 225
Joined: Wed Jul 13, 2005 7:13 am
Location: USA

Re: A little question..

Post by poltomb »

Moved. Please post in the appropriate section.
User avatar
Stake
Posts: 383
Joined: Sun Mar 23, 2008 9:33 pm
Location: Hungary
Contact:

Re: A little question..

Post by Stake »

Xmn is the maximum heap for young generation. It is used by garbage collector, and young generation is where the objects are stored. If an object survives several collection (in the so-called black list), then moved to tenured generation, if not, removed (from the so-called white list) with a full gc.
Image
Image
Post Reply