Skip to content

Instantly share code, notes, and snippets.

@syhily
Created November 27, 2017 08:08
Show Gist options
  • Select an option

  • Save syhily/f621d85007be12d6979bca4f5f4b6c09 to your computer and use it in GitHub Desktop.

Select an option

Save syhily/f621d85007be12d6979bca4f5f4b6c09 to your computer and use it in GitHub Desktop.
IDEA JVM Optimize
-ea
-server
-Xms1G
-Xmx2048M
-Xss2m
-XX:MaxMetaspaceSize=1G
-XX:ReservedCodeCacheSize=512m
-XX:MetaspaceSize=512m
-XX:+UseConcMarkSweepGC
-XX:+DoEscapeAnalysis
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:+UnlockExperimentalVMOptions
-Djava.net.preferIPv4Stack=true
-Dsun.io.useCanonCaches=false
-XX:LargePageSizeInBytes=256m
-XX:+UseCodeCacheFlushing
-XX:ParallelGCThreads=8
-XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+PrintGCDetails
-XX:+PrintFlagsFinal
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:CMSInitiatingOccupancyFraction=60
-XX:+CMSClassUnloadingEnabled
-XX:+CMSParallelRemarkEnabled
-XX:+UseAdaptiveGCBoundary
-XX:+UseSplitVerifier
-XX:CompileThreshold=10000
-XX:+OptimizeStringConcat
-XX:+UseStringCache
-XX:+UseFastAccessorMethods
-XX:+UnlockDiagnosticVMOptions
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseCompressedOops
-XX:-OmitStackTraceInFastThrow
-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
-Dfile.encoding=UTF-8
-Xverify:none
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
-Xbootclasspath/a:../lib/boot.jar
-Didea.config.path=/Users/Yufan/Library/Application Support/JetBrains/Toolbox/configs/IntelliJIdea/config
-Didea.system.path=/Users/Yufan/Library/Application Support/JetBrains/Toolbox/configs/IntelliJIdea/system
-Didea.plugins.path=/Users/Yufan/Library/Application Support/JetBrains/Toolbox/configs/IntelliJIdea/plugins
-Dide.no.platform.update=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment