Poll

What should we do?

Keep Existing World, add whitelist
Keep Existing World, no whitelist
Make New World, add whitelist
Make New World, no whitelist

Author Topic: Minecraft Server (4GB of RAM Allocated)  (Read 23893 times)

It's pretty much widely agreed that the server is stuff.
It didn't start this way, but it has gone to stuff. The server should just be as it started, vanilla and two ops.

It didn't start this way, but it has gone to stuff. The server should just be as it started, vanilla and two ops.
If its Vanilla it'll get griefed like stuff.

If its Vanilla it'll get griefed like stuff.
The server wasn't vanilla and still got griefed like stuff.

How do you allocate ram to a server, out of curiosity?

How do you allocate ram to a server, out of curiosity?
-Xms, for minimum memory to use, and -Xmx, for maximum memory to use.

If you run it with the GUI it runs with 256MB from my understanding (Bukkit has no GUI, so no worries here), Notch recommends 1024M of RAM, however it is not necessary.

To start a server with 4GB of RAM, you should use this command:

Code: [Select]
/usr/bin/java -Xincgc -Xmx4096M -jar craftbukkit-0.0.1-SNAPSHOT.jar
Take note this is on Linux, windows I am not sure of as I do not use Windows on any of my computers/servers. By using -Xincgc instead of -Xms4096M, means it will go lower to a point handled by the CPU, therefore you have no control over the minimum, which is a good way of having a powerful and efficient server.

If you run it with the GUI it runs with 256MB from my understanding (Bukkit has no GUI, so no worries here), Notch recommends 1024M of RAM, however it is not necessary.

To start a server with 4GB of RAM, you should use this command:

Code: [Select]
/usr/bin/java -Xincgc -Xmx4096M -jar craftbukkit-0.0.1-SNAPSHOT.jar
Take note this is on Linux, windows I am not sure of as I do not use Windows on any of my computers/servers. By using -Xincgc instead of -Xms4096M, means it will go lower to a point handled by the CPU, therefore you have no control over the minimum, which is a good way of having a powerful and efficient server.
Actually, I think the GUI (exe version) runs with 1GB.

Who are the OPs, by the way?

Who are the OPs, by the way?
Kio74 SasoriBS(who did not want to give his forum name out) And joey And Rebloxxed.

Kio74 SasoriBS(who did not want to give his forum name out) And joey And Rebloxxed.
And you.