-xms and -xmx SetUp

Discussion in 'Bukkit Help' started by rareshutzu, Apr 26, 2011.

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


    Hey guys, I was looking for help about -xms and -xmx settings when starting a server but I couldn't find anything... Things lost long time ago since hey0. Anyway, I just want to know which one does what, because I just updated my server with better RAM and I want to know how to add more to the server
  2. Offline


    Just use this launcher and replace the number after -Xmx with the amount of ram you want to have.
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
  3. Offline


    I got everything set up. I just wanted to know which was the RAM setting. I use a dedicated Ubuntu server. Thanks alot!
  4. Offline


    -Xms is the start value of your Java heap size. I suggest leaving it out and replacing it with -Xincgc instead.
    -Xmx is the max value of your Java heap size. You want to make sure this is less than your overall system RAM.
  5. Offline


    Changed to -Xingcgc and put -xmx1536. Let's see...

    Seems the server started...

    Working great! Thanks!!!
Thread Status:
Not open for further replies.

Share This Page