More ram for bukkit server

Discussion in 'Bukkit Help' started by Kyritheous, Aug 18, 2011.

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


    I was wondering how much ram my server has dedicated to it and how I could add more if needed.
    The code in my run.bat is:
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar

    I am new to running a server and to code and scrips and mostly everything bukkit realated. sorry if this is a noob question, I'm here to learn!
  2. Offline


    well this string right here
    %ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    in your run.bat is what needs to be changed a little.
    changing the -Xmx1G line to look like this -Xmx2G will add more ram so by changing the 1G to 2G you will be running 2 gigs or more if you want.

    Now before doing this make a backup of your server folder.

    now this might not work its a 50% chance it will i worked on one of my friends server but not on mine so don't blame me if it don't work
Thread Status:
Not open for further replies.

Share This Page