CraftenDev / craften-launcher

A beautiful, free and open-source Minecraft launcher.
MIT License
12 stars 3 forks source link

Option to launch with "optimized" arguments #2

Open leMaik opened 7 years ago

leMaik commented 7 years ago

As described here it might be possible to improve the performance by launching Minecraft with some additional cli arguments.

This "optimization" might affect stability though, so it should be disabled by default.

saschb2b commented 7 years ago

Our current parameters are: -XX:+UseConcMarkSweepGC;-XX:+CMSIncrementalMode;-XX:-UseAdaptiveSizePolicy;-Dfml.ignoreInvalidMinecraftCertificates=true;-Dfml.ignorePatchDiscrepancies=true

And they want: -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates­=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048M -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=20000 -XX:ParallelGCThreads=10

Plus the usual -Xmx -Xms and -Xmn parameter

Tested these parameters and it crashed my launcher. Don't know what's the culprit at the moment