Improving a startup script

Discussion in 'Performance Tweaking' started by Kira_07, Jul 5, 2015.

  1. 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.

    Code (Text):
    java -Xms512M -Xmx8G -jar minecraft_server.jar
     
    • Like Like x 1
  2. 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.
     
    • Friendly Friendly x 1