Created
November 26, 2019 22:23
-
-
Save ScriptedAlchemy/1ffbaac554f738094c9ad83640459b93 to your computer and use it in GitHub Desktop.
improved perf vmoptions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Xms1024m | |
-Xmx3072m | |
-Xss64m | |
-XX:ReservedCodeCacheSize=512m | |
-XX:+UseCompressedOops | |
-XX:NewRatio=2 | |
-Dfile.encoding=UTF-8 | |
-XX:+UseConcMarkSweepGC | |
-XX:SoftRefLRUPolicyMSPerMB=250 | |
-XX:NewSize=512m | |
-XX:MaxNewSize=512m | |
-XX:PermSize=512m | |
-XX:MaxPermSize=1024m | |
-XX:+UseParNewGC | |
-XX:ParallelGCThreads=4 | |
-XX:MaxTenuringThreshold=1 | |
-XX:SurvivorRatio=8 | |
-XX:+UseCodeCacheFlushing | |
-XX:+AggressiveOpts | |
-XX:+CMSClassUnloadingEnabled | |
-XX:+CMSIncrementalMode | |
-XX:+CMSIncrementalPacing | |
-XX:+CMSParallelRemarkEnabled | |
-XX:CMSInitiatingOccupancyFraction=65 | |
-XX:+CMSScavengeBeforeRemark | |
-XX:+UseCMSInitiatingOccupancyOnly | |
-XX:-TraceClassUnloading | |
-XX:+AlwaysPreTouch | |
-XX:+TieredCompilation | |
-XX:+DoEscapeAnalysis | |
-XX:+UnlockExperimentalVMOptions | |
-XX:LargePageSizeInBytes=256m | |
-XX:+DisableExplicitGC | |
-XX:+ExplicitGCInvokesConcurrent | |
-XX:+PrintGCDetails | |
-XX:+PrintFlagsFinal | |
-XX:+HeapDumpOnOutOfMemoryError | |
-XX:+CMSPermGenSweepingEnabled | |
-XX:+UseAdaptiveGCBoundary | |
-XX:+UseSplitVerifier | |
-XX:CompileThreshold=10000 | |
-XX:+UseCompressedStrings | |
-XX:+OptimizeStringConcat | |
-XX:+UseStringCache | |
-XX:+UseFastAccessorMethods | |
-XX:+UnlockDiagnosticVMOptions | |
-ea | |
-Dsun.io.useCanonCaches=false | |
-Djava.net.preferIPv4Stack=true | |
-XX:-OmitStackTraceInFastThrow | |
-Xverify:none | |
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log | |
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof | |
-Dide.no.platform.update=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
For Java 11: