Jump to content
  • 0

If Vps Got Not Enough Rams


Mellion

Question

Hello guys, i have problem, i just buy vps 3gb rams few months for testing server, and have huge problem...

I can't turn on server because not enough rams, i don't know why........

Maybe know guys any fixs? https://ibb.co/c9SoLa

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

err=1
until [ $err == 0 ];
do
    . ./setenv.sh
    [ -f log/java0.log.0 ] && mv log/java0.log.0 "log/java/`date +%Y-%m-%d_%H-%M-%S`_java0.log.0"
    [ -f log/stdout.log ] && mv log/stdout.log "log/stdout/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
# For developers mostly (1. line gc logrotate, 2. line parameters for gc logging):
#    [ -f log/gc.log ] && mv log/gc.log "log/gc/`date +%Y-%m-%d_%H-%M-%S`_gc.log"
#    -verbose:gc -Xloggc:log/gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution
# Alternative startup by NB4L1
#    java -Dfile.encoding=UTF-8 -Xmn128m -Xms512m -Xmx1024m- cp lib/*:lib/uMad/*:Equal.jar -server com.equal.gameserver.GameServer > log/stdout.log 2>&1
    java -Dfile.encoding=UTF-8 -Xmx1024m -cp lib/*:lib/uMad/*:Equal.jar com.equal.gameserver.GameServer > log/stdout.log 2>&1
    err=$?
#    /etc/init.d/mysql restart
    sleep 10;
done

Fixed me :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...