Skip to content

Instantly share code, notes, and snippets.

@Brycey92
Created January 16, 2019 01:56
Show Gist options
  • Save Brycey92/12f77a8aeba967d02b669864a3d55c88 to your computer and use it in GitHub Desktop.
Save Brycey92/12f77a8aeba967d02b669864a3d55c88 to your computer and use it in GitHub Desktop.
java -server -Xmx20480M -Xms20480M -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50 -XX:G1HeapRegionSize=32M -XX:+AggressiveOpts -XX:+AlwaysPreTouch -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:+UseLargePagesInMetaspace -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+UseBiasedLocking -Dsun.rmi.dgc.server.gcInterval=2147383646 -Dfile.encoding=UTF-8 -Dlog4j.skipJansi=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.local.only=false -Dlog4j.configurationFile=log4j2.xml -Dfml.queryResult=confirm -Dfml.doNotBackup=true -jar forgemod.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment