I have a MineCraft network on my vServer Which I want to release soon… Only I need help, since I have always started only by java -jar server.jar -
How do I allocate more RAM to a server on my Linux Debian 8 vServer?
And how many players can stand 1 GB of RAM?
(Have 10 GB)
PS Sorry, some errors should occur, my phone about which I wrote this writer in English.
About what*
First it is so that if you have hired the vServer, you can't even assign Ram.
You probably mean the ram for Minecraft itself, here you can use the following command:
java -Xmx10G -Xms1G -jar server.jar nogui
In a nutshell, -Xmx10G limits Java to 10GB Ram and -Xms1G launches Minecraft with 1GB.
It's best to just change -Xmx10G into what you need.
Okay, thanks for the quick reply.
With 1 GB of RAM I would depending on the plugins not more than 10 players on it, but is very dependent on the plugins.