[HELP] How to edit gameserver.bat

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
pinkcore
Posts: 247
Joined: Fri Jul 24, 2009 3:04 am
Location: Czech Republic

[HELP] How to edit gameserver.bat

Post by pinkcore »

Hello, i have a machine with 16GB RAM and 2x Xeon processors. But java using only 1GB of the RAM... i open the gameserver.bat and i see:
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts ...
How can i use it?

I need to paste it to this place:
REM Default parameters for a basic server.
java -Djava.util.logging.manager=net.sf.l2j.util.L2LogManager -Xmx1024m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
But i dont know how, thanx for all help :)

EDIT:
Okey i test this:
java -server -Xmx4096m -Xms2048m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
Is this right? :))
I'm not here only for food!
smartmedia
Posts: 60
Joined: Tue Jun 16, 2009 4:38 pm
Location: Hellas

Re: [HELP] How to edit gameserver.bat

Post by smartmedia »

Hi..

Thoose two are working with me.
1)
java -Xmn512m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
2)
java -Xmx1536m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer

This don't work for me.
java -Xms1024m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
Post Reply