Most efficient startup script?

Discussion in 'Bukkit Help' started by ibrasteel, Aug 30, 2012.

Thread Status:
Not open for further replies.
  1. Offline


    Now through looking up startup scripts, i know there are different ones from the basic one. Some put it on the ram,or somthing like that, others give it a higher priority etc.
    So my question is, what script gives the server the best performance? (windows or ubuntu)
    thanks in advance ~ibrasteel
  2. Offline


    which version of java are you using?
    what version of ubuntu?
    how much ram do you have available?
  3. Offline


    I use the basic one below (windows):

    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "C:\Program Files\Java\jre7\bin\java.exe" -Xincgc -Xmx1024M -jar "craftbukkit-1.3.1-R2.0.jar"
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xincgc -Xmx1024M -jar "craftbukkit-1.3.1-R2.0.jar"

    This one checks to see if the system is 32 bit or 64 bit and then sets it so that the server can run on 1GB of ram. Normally the ram should be set a lot higher buy this is just for demonstration purposes. Also, in this script, I have Java Runtime Environment 7. If you are using Windows, use Task Manager and navigate to java.exe in the processes list, then right click > set priority > realtime.
  4. Offline


    bastion (if windows)java 7, (if not windows) open jdk 7 ubuntu 12.04 lts and i can allocate 5 gigs of ram to the server
Thread Status:
Not open for further replies.

Share This Page