Need help setting up starter script

Discussion in 'Bukkit Help' started by nhoclesnar, Apr 30, 2012.

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

    nhoclesnar

    What's the best set up for a server with good processor and minimized amount of RAM?
    Specifically, it's: Intel Xeon E3-1270 and 1024M RAM, but only 900M or so are available.
    What are the best flags to prevent memory leaks and decrease memory usage if possible?
    Thanks in advance.

    Btw, additional information is the server is running on Linux 64 bit.
     
  2. Offline

    nhoclesnar

    Help please. Does this look fine?

    Code:
    -Xincgc -d64 -server -Xmx900M -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxGCPauseMillis=50 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:UseSSE=3 -XX:+UseLargePages -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+UseCompressedStrings -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -jar craftbukkit.jar nogui
     
  3. Offline

    ashley

    try this

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    java -server -Xmn500M -Xms900M -Xmx900M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:parallelGCThreads=5 -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -jar craftbukkit.jar
    PAUSE

    this uses youre cpu to reduce lag
     
    nhoclesnar likes this.
  4. Offline

    nhoclesnar

    Thanks I'm going to try it and see if the performance increases and the RAM usage reduces.
     
Thread Status:
Not open for further replies.

Share This Page