Jump to content
  • 0

[Help]Enable More RAM


Question

1 answer to this question

Recommended Posts

  • 0
Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock