Skip to content

Memory for login and game server

Featured Replies

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

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

Thanks guys. Well yes, maybe bit to much, bought it from OVH, thought that the offer was not to bad :)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.