Page 1 of 1

Server Memory

Posted: Fri Apr 22, 2011 4:19 pm
by mangdar
com.l2jserver.gameserver.GameServer GameServer Started, free memory 582 Mb of 953 Mb

I need increse memory for my l2j server.
How to do it?

Re: Server Memory

Posted: Fri Apr 22, 2011 4:23 pm
by Evilus
in either your startgameserver.bat(windows) or gameserverloop.sh(linux), depends on your operativesystem

Re: Server Memory

Posted: Fri Apr 22, 2011 4:24 pm
by Raikkon35
You can start editing "startGameServer.bat" (or "GameSever_loop.sh") changing the "-Xmx" value.
For example, "-Xmx2048" for giving 2 GBs RAM to server.

Search the forum, there are a few values ​​you can modify. Are also several examples in the file that I have specified. Find info about the "garbage collector" of JVM.

Re: Server Memory

Posted: Fri Apr 22, 2011 4:33 pm
by mangdar
Thank you i changed it.and work fine

:oops: Evilus
:oops: Raikkon35