How to run a server with more RAM

Discussion in 'Bukkit Help' started by Jay1029, Mar 13, 2011.

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

    Jay1029

    Okay so right now I have 4 gigs of RAM on my laptop and the server is running mine for 5 peoplebut id like to let more people join when I upgrade my laptop to 8 gigs so how do I let the sever use 2 gigs of my ram, and how do I let it use 4?
     
  2. Offline

    DIENER

    You will first need to install 64bit Java.
    Code:
    Java -Xincgc -Xmx2G -jar "craftbukkit-0.0.1-SNAPSHOT.jar"
    Will run it with 2GB
    Code:
    Java -Xincgc -Xmx4G -jar "craftbukkit-0.0.1-SNAPSHOT.jar"
    Will run it with 4GB
     
    Alassien likes this.
  3. Offline

    DMCE_Mason

    Awesome Thanks :D Been wanting to up my ram :D
     
Thread Status:
Not open for further replies.

Share This Page