Skip to content

Instantly share code, notes, and snippets.

@cheeplusplus
Created April 18, 2013 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cheeplusplus/5409879 to your computer and use it in GitHub Desktop.
Save cheeplusplus/5409879 to your computer and use it in GitHub Desktop.
FTB start server script
#!/bin/bash
MINMEM=1024M
MAXMEM=4096M
JARFILE=ftbserver.jar
java -Xms$MINMEM -Xmx$MAXMEM -XX:ParallelGCThreads=4 -server -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -Xnoclassgc -XX:UseSSE=3 -XX:PermSize=128m -XX:LargePageSizeInBytes=4m -jar $JARFILE nogui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment