Skip to content

Instantly share code, notes, and snippets.

@celestefox
Last active December 13, 2015 23:29
Show Gist options
  • Save celestefox/4991860 to your computer and use it in GitHub Desktop.
Save celestefox/4991860 to your computer and use it in GitHub Desktop.
Minecraft launch opts
CURRENTLY UNDER KITTENSTRUCTION - DO NOT USE RIGHT NOW
-Xverify:none -XX:+UnlockExperimentalVMOptions -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-DontCompileHugeMethods -XX:MaxInlineSize=1024 -XX:FreqInlineSize=1024 -XX:+CMSParallelRemarkEnabled -XX:CMSFullGCsBeforeCompaction=1 -XX:MaxHeapFreeRatio=25 -XX:MinHeapFreeRatio=20 -XX:MaxPermSize=256M -XX:NewSize=240m -XX:SurvivorRatio=10 -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution -XX:MaxTenuringThreshold=4 -XX:+AggressiveOpts -XX:+OptimizeStringConcat -XX:+PrintCommandLineFlags -XX:+PrintGCDetails -Xloggc:GC.log
-Xmn2G -Xss4M -Xms4G -Xmx4G -XX:+UseLargePages -XX:PermSize=256M -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+UseCompressedStrings -XX:+UseBiasedLocking -Xincgc -XX:MaxGCPauseMillis=10 -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:UseSSE=4 -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=10 -Djava.net.preferIPv4Stack=true
To use with MMC:
1. Click the settings icon at the top.
2. Cloick on the Java tab.
3. Copy and paste the above line into the JVM arguments section. I also recomend pressing the "Auto-detect" button.
4. Press OK.
5. Enjoy faster and better MC!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment