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.
Tip: If you want to spare more memory, you may set the -Xms parameter even lower, say:
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.
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
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.