What is the minimum RAM needed for a Minecraft server (without using custom servers)?
There will be at the most 5 players, the VPS will be OpenVZ.
Minecraft – Minimum RAM needed for Minecraft server
hardwareminecraft-java-editionminecraft-java-edition-server
Best Answer
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.
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