Social Icons

Saturday, 5 May 2012

How to allocate more RAM to your Craftbukkit server

First of all, you'll need to download/update your JDE (Java Runtime Environment) and your JDK (Java Development Kit)
Second, you have to have craftbukkit to do this
Now follow these steps:

1)Find the craftbukkit batch file, which is probably your server starter. Should be labeled .bat

2)Right-click it and press Edit

3)As you can see, there should be something close to this

@EcHo off
"C:\Program Files\Java\jre7\bin\java.exe" -server -Xms1024M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar

4)If you have a 32-bit computer, max amount of memory allocated can only be 1024M (1GB)

5)As you can see, where it says -Xmx1024M and -Xms1024M, the number is how much MB is allocated to your server.

6)Change this to your preference. Don't put in some random number! Try to use multiples of 512M. ex) 1536M


1 comment:

  1. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post.
    Minecraft Servers