Skip to content

Instantly share code, notes, and snippets.

@Brethel
Last active January 12, 2018 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Brethel/f1726433ba426af381a11dfd42c95744 to your computer and use it in GitHub Desktop.
Save Brethel/f1726433ba426af381a11dfd42c95744 to your computer and use it in GitHub Desktop.
# custom IntelliJ IDEA VM options
#-Xbootclasspath/a:c:/devtools/opt/marlin-0.8.2-Unsafe-sun-java2d.jar
-Xbootclasspath/a:c:/devtools/opt/marlin-0.8.2-Unsafe.jar
-ea
-server
-Xms384m
-Xmx2048m
-Xss4m
-verbose:gc
-Dawt.useSystemAAFontSettings=lcd
-Dfile.encoding=UTF-8
-Dswing.aatext=true
-Dsun.io.useCanonCaches=false
-Dsun.java2d.d3d=false
-Dsun.java2d.opengl=true
-Dsun.java2d.renderer=org.marlin.pisces.MarlinRenderingEngine
#-Dsun.java2d.renderer.useLogger=true
-Dsun.java2d.renderer.gamma=1.5
#-Dsun.java2d.renderer.verbose=true
#-Dsun.java2d.debugfonts=true
-Djava2d.font.loadFontConf=true
-Djava.net.preferIPv4Stack=true
-Xverify:none
-XX:+AggressiveOpts
-XX:+AlwaysPreTouch
-XX:+BindGCTaskThreadsToCPUs
-XX:+CMSClassUnloadingEnabled
-XX:CMSInitiatingOccupancyFraction=60
-XX:+CMSParallelRemarkEnabled
-XX:+CMSScavengeBeforeRemark
-XX:CompileThreshold=10000
-XX:ConcGCThreads=4
-XX:+DisableExplicitGC
-XX:+DoEscapeAnalysis
-XX:+ExplicitGCInvokesConcurrent
-XX:+HeapDumpOnOutOfMemoryError
-XX:InitiatingHeapOccupancyPercent=50
-XX:LargePageSizeInBytes=20m
-XX:MaxGCPauseMillis=1000
-XX:MaxMetaspaceSize=768m
-XX:MaxTenuringThreshold=1
-XX:MetaspaceSize=256m
-XX:NmethodSweepActivity=100
-XX:-OmitStackTraceInFastThrow
-XX:+OptimizeStringConcat
-XX:ParallelGCThreads=4
-XX:+PrintFlagsFinal
-XX:+PrintGCDetails
-XX:ReservedCodeCacheSize=512m
-XX:+ScavengeBeforeFullGC
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:SurvivorRatio=512
-XX:+TieredCompilation
-XX:-TraceClassUnloading
-XX:+UnlockDiagnosticVMOptions
-XX:+UnlockExperimentalVMOptions
-XX:+UseAdaptiveGCBoundary
-XX:+UseCodeCacheFlushing
-XX:+UseCompressedOops
-XX:+UseFastAccessorMethods
-XX:+UseGCTaskAffinity
-XX:+UseISM
-XX:+UseLargePages
-XX:+UseParNewGC
-XX:+UseTLAB
#-XX:+UnlockCommercialFeatures
#-XX:+FlightRecorder
#-XX:+UnlockDiagnosticVMOptions
#-XX:+DebugNonSafepoints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment