Bobi Posted May 6, 2011 Posted May 6, 2011 how to enable my GameServer to use more RAM on Linux Debian Quote
0 fokys Posted May 7, 2011 Posted May 7, 2011 You need to edit GameServer_loop.sh file just type in: nano GameServer_loop.sh once you are in gameserver main directory and it will open that file! Then you will see something like this: #!/bin/bash # exit codes of GameServer: # 0 normal shutdown # 2 reboot attempt while :; do [ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log" [ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log" java -server -Dfile.encoding=UTF-8 -Djava.util.logging.manager=l2.universe.util.L2LogManager -Xms1024m -Xmx8192m -cp ./../libs/*:l2universe.jar l2.univ$ [ $? -ne 2 ] && break # /etc/init.d/mysql restart sleep 10 done All you have to do is change -Xmx8192m this value i have it on 8192 because i want my GS to use 8GB RAM Quote
Question
Bobi
how to enable my GameServer to use more RAM on Linux Debian
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.