Page 1 of 1

Help - Can't change Gameserver memo usage

Posted: Thu Jun 28, 2012 1:47 am
by Xion41
Hi all.

I was changing the memory ussage and the server starts and gives an error mentioning virtual memori max min out of limits.

I just change the basic Xms as I seen here and no way, allways gives me the same error.

Can enevody give me a clue on these.

This is the one I use

REM -------------------------------------
REM Default parameters for a basic server.
java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------

If I change Xms to 1536 server crashes at start

Thanx.

Re: Help - Can't change Gameserver memo usage

Posted: Thu Jun 28, 2012 2:04 am
by MELERIX
you need change Xmx

Re: Help - Can't change Gameserver memo usage

Posted: Thu Jun 28, 2012 4:41 am
by Xion41
Excellent.

I did change Xms and Xmx and it worked fine.
I hope i got it wright and that both Xms and Xmx must be changed as I did.

this is whta I did and server starts wrigh.
REM -------------------------------------
REM Default parameters for a basic server.
java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms2048m -Xmx2048m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------

Br.
Xion

Re: Help - Can't change Gameserver memo usage

Posted: Sun Jul 01, 2012 12:50 pm
by Battlecruiser
Xms - minimum value
Xmx - maximum value

so Xms <= XmX