Help - Can't change Gameserver memo usage

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Xion41
Posts: 6
Joined: Thu Jan 26, 2012 1:14 am

Help - Can't change Gameserver memo usage

Post 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.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Help - Can't change Gameserver memo usage

Post by MELERIX »

you need change Xmx
Xion41
Posts: 6
Joined: Thu Jan 26, 2012 1:14 am

Re: Help - Can't change Gameserver memo usage

Post 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
User avatar
Battlecruiser
L2j Veteran
L2j Veteran
Posts: 332
Joined: Thu May 01, 2008 9:44 am

Re: Help - Can't change Gameserver memo usage

Post by Battlecruiser »

Xms - minimum value
Xmx - maximum value

so Xms <= XmX
Git user
Post Reply