Skip to content

Instantly share code, notes, and snippets.

@rahilb
Created March 7, 2016 21:36
Show Gist options
  • Save rahilb/bf7a6aa5fcc73bb389eb to your computer and use it in GitHub Desktop.
Save rahilb/bf7a6aa5fcc73bb389eb to your computer and use it in GitHub Desktop.
java opts
java -ea \
$SBT_OPTS \
$JAVA_OPTS \
-Djava.net.preferIPv4Stack=true \
-XX:+AggressiveOpts \
-XX:+UseParNewGC \
-XX:+UseConcMarkSweepGC \
-XX:+CMSParallelRemarkEnabled \
-XX:+CMSClassUnloadingEnabled \
-XX:ReservedCodeCacheSize=128m \
-XX:MaxPermSize=1024m \
-XX:SurvivorRatio=128 \
-XX:MaxTenuringThreshold=0 \
-Xss8M \
-Xms512M \
-Xmx2G \
-server \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment