Skip to content

Instantly share code, notes, and snippets.

@crmaxx
Created March 3, 2020 10:12
Show Gist options
  • Save crmaxx/12a781a35920f6bc1c57bb5c921187f9 to your computer and use it in GitHub Desktop.
Save crmaxx/12a781a35920f6bc1c57bb5c921187f9 to your computer and use it in GitHub Desktop.
My JetBrains Rider VM options
# custom JetBrains Rider VM options
-ea
-Xms2048m
-Xmx4096m
-Xss16m
-XX:MetaspaceSize=512m
-XX:MaxMetaspaceSize=2G
-XX:ConcGCThreads=6
-XX:ParallelGCThreads=6
-XX:NewRatio=3
-XX:ReservedCodeCacheSize=240m
-XX:+AlwaysPreTouch
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:CICompilerCount=2
-XX:+DoEscapeAnalysis
-XX:+TieredCompilation
-XX:LargePageSizeInBytes=256m
-XX:+UseCodeCacheFlushing
-XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+PrintGCDetails
-XX:+PrintFlagsFinal
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:CMSInitiatingOccupancyFraction=60
-XX:+CMSParallelRemarkEnabled
-XX:+UseAdaptiveGCBoundary
-XX:CompileThreshold=10000
-XX:+OptimizeStringConcat
-XX:+UnlockDiagnosticVMOptions
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseCompressedOops
-XX:-OmitStackTraceInFastThrow
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
-Dsun.io.useCanonPrefixCache=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off
-Dfile.encoding=UTF-8
-Xverify:none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment