Jump to content

vmlinuz

Members
  • Posts

    285
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by vmlinuz

  1. @echo off
    title aCis gameserver console
    :start
    REM -------------------------------------
    REM Default parameters for a basic server.
    java -Xmx512m -cp ./libs/*; net.sf.l2j.gameserver.GameServer
    REM
    REM If you have a big server and lots of memory, you could experiment for example with
    REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
    REM -------------------------------------
    if ERRORLEVEL 2 goto restart
    if ERRORLEVEL 1 goto error
    goto end
    :restart
    echo.
    echo Admin have restarted, please wait.
    echo.
    goto start
    :error
    echo.
    echo Server have terminated abnormaly.
    echo.
    :end
    echo.
    echo Server terminated.
    echo.
    pause
    

     

    Only this?

    REM -------------------------------------
    REM Default parameters for a basic server.
    java -Xmx512m -cp ./libs/*; net.sf.l2j.gameserver.GameServer
    REM
    REM If you have a big server and lots of memory, you could experiment for example with
    REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
    REM -------------------------------------

     

    Xmx ? Xms ? Xmn? PermSize ? SurvivorRadio ?

    REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

     

    Also if you mysql isnt configurated for maximum forget the 512 or 1024 2048 or more

     

    i Agree with pipiou21

     

    I'm not surprised to be honest that even you didn't understood what you have shared.

    Your share is completely incomplete !!!

     

    Read about those variables by searching "Garbage Collector" on google and give us some more information. I'm sure that by searching like this you will find more information.

     

    Thanks for sharing it with us by the way, do not forget that you are on wrong section.

     

     

×
×
  • Create New...