Jump to content
  • 0

Memory for login and game server


Question

Posted (edited)

Hello, any advices how to properly set memory for .sh login and game files? I have dedicated server with 32GB ram memory.

 

java -XX:+UseConcMarkSweepGC -Xmx30G -cp ./libs/*; net.sf.l2j.gameserver.GameServer

 

java -Xmx1g -cp ./libs/*; net.sf.l2j.loginserver.LoginServer

Edited by admirolas3

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

Do not use the -XX:+UseConcMarkSweepGC. 512mb for LS and 16gb for GS, it should be enough to handle up 700 players that are constantly active. if your server have no memory leak. I've personally used 64gb for 1k+ players and I don't remember going above 16gb. Your OS, db and networking need a lot of RAM as well; don't waste it all on the server.

Edited by Trance
  • Upvote 1
Guest
This topic is now closed to further replies.


×
×
  • Create New...