Skip to content

Instantly share code, notes, and snippets.

@k0ta0uchi
Last active June 1, 2017 06:18
Show Gist options
  • Save k0ta0uchi/5f4335c5850fe72c75c4e6f0a7b2ae86 to your computer and use it in GitHub Desktop.
Save k0ta0uchi/5f4335c5850fe72c75c4e6f0a7b2ae86 to your computer and use it in GitHub Desktop.
@echo off
java -Xms512M -Xmx1G -XX:MaxPermSize=128M -XX:+UseConcMarkSweepGC -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=4M -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AggressiveOpts -jar spigot.jar
pause
@k0ta0uchi
Copy link
Author

start.bat file for minecraft server with optimized JVM settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment