give more ram to server help

Discussion in 'Bukkit Help' started by THE_MASTER79, Jun 28, 2011.

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

    THE_MASTER79

    can someone help me give more ram to my bukkit server
    i have a 64 bit operating system
     
  2. Offline

    geekster08

    In the bat file you use to launch your minecraft server:

    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    For example, to allocate more ram you increase the -Xmx number

    Say 1.5gb you'd put
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1536 -jar craftbukkit-0.0.1-SNAPSHOT.jar

    Or 2gb you'd put:
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx2G -jar craftbukkit-0.0.1-SNAPSHOT.jar

    Etc...
     
  3. Offline

    THE_MASTER79

    man i put in the 3G or 3072M and it says that the server has too much heap or something, i have 4 gigs of ram, why the fuck cant i fucking put 3 gigs on this fucking server! im pissed
     
  4. Offline

    geekster08

    Oops I made a mistake, you need to be running the 64bit version of java.
    Use Internet Explorer x64 and download & install java, then try:

    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx2G -jar craftbukkit-0.0.1-SNAPSHOT.jar

    That should work? Also I don't recommend dedicated 3/4 of your ram to minecraft, that'll possibly strangle the system depending on what OS your using.
     
  5. Offline

    Kaydie

    geek this changes just the java clients allocated memory, is there any way to change the server iteself? i am win7x64 as well, but im also using mymcadmin wrapper, so i'm not sure how to change the server specifically
     
  6. Offline

    gnftoxic

    To change the amount of RAM for the (physical) server, you must either buy ram, or ask your host (second option assumes you pro host) to allocate more ram to your service.
     
  7. Offline

    Kaydie

    no, mcmyadmin is a wrapper, so it's still hosted off my computer :<

    - nevermind theres a conf file in the wrapper that lets me change it, found it thanks guys
     
Thread Status:
Not open for further replies.

Share This Page