Amount of RAM

Discussion in 'Bukkit Help' started by colton1111, Nov 13, 2012.

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

    colton1111

    For some reason, my server only wants to use less than 512MB of RAM, and I don't know how to change it. I have 8GB of RAM, so I'd like to change it to use about 1.5-2GB. Any help?
     
  2. Offline

    Mr. Minecraft

    If this is a private server, then right click on the Start.bat (or whatever you named it). Its the one you double click to start the server. It should look something like this:

    @Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx512M -Xms512M -jar craftbukkit (version #)
    PAUSE

    Simply change the memory values to what you want. In this case (same as my settings) it should be:

    @Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx2GB -Xms2GB -jar craftbukkit (version #)
    PAUSE


    EDIT: What operating System are you running?
     
  3. Offline

    zome

    Are you using bukkit? or vanilla? any mods? I use vanilla, and honestly, no matter what my memory allocation, it never really goes over the 500-700 mb range, under any load.

    I can only attribute this to recent optimizations to the core code of Minecraft in the recent patch. I could be wrong, but that is my speculation. :)
     
  4. Offline

    Mr. Minecraft

    The more the better. When using world edit to insert huge schematics, the ram usage spikes up to 1.2 gb for the largest ones for me at least :)
     
Thread Status:
Not open for further replies.

Share This Page