Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Performance Tweaking' started by Kira_07, Jul 5, 2015.
Any opinions on how to improve it ?
Unless you know what every one of those flags do, I wouldn't use them. I'm pretty sure Java 8 doesn't even require any more flags than -Xms and -Xmx.
This script should work fine for you, make sure the -Xms flag is the minimum / starting amount of ram that the server will use and the -Xmx flag is the maximum allocated amount the server can use. However, you shouldn't really need more than 8gb unless you have a ton of players or stupid amount of plugins.
java -Xms512M -Xmx8G -jar minecraft_server.jar
A friend of mine gave it to me and I think he knows what every flag does, I tested with your script and mine and I really see the difference, performance boost. For the ram I have 300-400 players and 50 plugins.