4

What is the minimum RAM needed for an Minecraft server? (without using custom servers) There will be at most 5 players, the VPS will be OpenVZ.

5

Tip: If you want to spare more memory, you may set the -Xms parameter even lower, say:

java -Xms32M -Xmx512M -jar minecraft_server.jar nogui

The parameter controls how much memory is reserved on startup. Your server will start with 32MB RAM and whenever it needs more memory it will allocate some until it reaches the maximum of 512M. However, this will result in a little slowdown whenever the allocation is done.

Source: http://www.minecraftwiki.net/wiki/Tutorials/Setting_up_a_server#Less_than_1GB_free_RAM

Also you can check this website : http://www.canihostaminecraftserver.com/

With this you can have a small idea on how many players you can handle :D

3

If I remember correctly it's about 10 MB per expected user. However, it is also assuming that the players will stay somewhat close together, if everyone spreads out then you'll need a signifigantly higher amount of ram.

3

256 MB is most likely too little. Minecraft will start alright, but once the world becomes large enough by either exploration or lots of constructions (which your sons probably managed to achieve within said hour), 256 MB is too little and the machine will start swapping, i.e. re/storing parts of RAM to the disk, which both time-consuming and futile since here one single application requires all the RAM. From experience I'd say 512 MB is the absolute minimum for an acceptable performance for two players who don't stray apart too much. But as this other question suggests, even 768 MB purely dedicated to a standalone vanilla Minecraft instance (a server doesn't need all the RAM a standalone Minecraft (=client+server) needs, but probably not much less either; and remember, there's an OS running in addition, and even a tiny Linux distro will still use up some RAM) are too little.

So, no, 256 MB definitely won't do. 1 GB should be ok for small localized projects, but once you want to allow players to spread across the world, even 2 GB may not suffice. Of course, for larger communities, you should consider using e.g. bukkit with a permissions plugin such that only some dedicated areas of the world can be (permanently) modified, allowing the server to save a lot of RAM.

By the way, one interesting alternative to using a host is building a dedicated one of your own, e.g. on a ~50$ Raspberry Pi, which apparently can manage around ten persons at an acceptable performance. edit And maybe http://pi.minecraft.net/ will improve this even further...

0

I have 2 to 12 players, about 5 low-memory plugins (Lift, Dynmap (uses more mem I think), Spawn, Nicknamer,..). The server has 16 GB Ram and I allocated 4 GB to minecraft.

Right now minecraft uses 1.5 to 3 GB.

I don't understand how someone saying 10MB per player. You need way more. I'd suggest 1 GB per 8 players at least.

I don't think I can host 100 player with my 16 GB.

  • FWIW I ended up playing Vanilla (5 players) with 256MB RAM allocated to Minecraft, and it worked very well – Bogdacutu Dec 12 '13 at 20:59
-1

I have a VPS that have a 125MB ram and 256MB Swap I allocated 150M ram into the server, but It runs perfectly normal with ALOT of plugins include orebfucastor,essentials, group manger, spark tail, ETC.It will just pop up the message cant keep up, but it runs normally............

  • 125MB isn't enough to run Windows, let alone anything on top of that. – Frank May 1 '14 at 3:34
  • @Frank probably a barebones Linux distro. – kotekzot May 1 '14 at 3:59
-2

512mb Ram is good for alat least 5 plugins and 20 players, now you can predict how many you want, the best is 4gb: 40 plugins and 160 players with no lag

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.