I can't put more RAM in my server

Discussion in 'Bukkit Help' started by Cardinal42, May 31, 2012.

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


    My cpu has 6 gigs of ram. But whenever I try to bring my ram up, it does not work.

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1500M -Xms1024M -jar craftbukkit.jar

    That is my current BAT code. Please, my server lags a lot, and I am using almost none of my ram while having 3 people on it and playing. So I would like to fix that.
  2. What is the error message?
  3. Offline


    You need a 64bit system to use more then 2GB of memory..
  4. Offline


    I have one.
  5. Offline


    instead of putting "1500M" in the memory amount, you can also do something like "3G"
  6. Offline


    Ok I just got the 64bit version of Java, so that is fixed.


    Wait, so Xmx is the memory? Not Xms?

    Sorry for the relpy spam, but it worked! THanks!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 26, 2016
  7. Offline


    Xmx is the maximum memory Java can use, Xms is the starting memory that is allocated to Java when you start Bukkit.
  8. Offline


    So Xms is how much my server really uses, until it starts to lag an decides to use more?
  9. Offline


    Xms is the starting memory which gets instantly allocated, Xmx is the maximum that Java will be able to use (More will be allocated if required). (As I said before)
  10. Offline


    Xms should be kept as low as possible.
Thread Status:
Not open for further replies.

Share This Page