Bukkit Optimizing

Discussion in 'Bukkit Help' started by Michael_BoG, Jul 4, 2011.

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


    Hi. I've got a question; what is the best startup command for minimizing lag and maximize performance with a server with 4GB ram? Currently I'm running;

    sudo chown -R michael /opt/craftbukkit/world
    cp -r backup/world ./
    java -Xincgc -Xmx3072M -jar craftbukkit.jar nogui
    rm -r backup/
    mkdir backup/
    cp -r world/ backup/
    All this is for the RAMdisk.

    So yeah, that's pretty much my question..
  2. Offline


  3. Offline


    That server has got 24gb ram..

    Edit: Using this one for now, what should i add/change?;
    java -server -Xms2G -Xmx3G -XX:permSize=128m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:parallelGCThreads=3 -XX:MaxGCPauseMillis=5 -XX:+UseAdaptiveGCBoundary -X$
  4. Offline


    I would suggest sticking to the basics, I use:

     java -Xincgc -Xmx7G -jar craftbukkit.jar 
  5. Offline


    Honestly, i really don't know lol. The long text line with alot of conf. parameters seems to be doing best so far. Just that memory usage has went to the roof. I don't care tho.

    Anyone got any better options for a 4Gb server?
  6. Offline


Thread Status:
Not open for further replies.

Share This Page