Skip to content

Instantly share code, notes, and snippets.

@SmetDenis
Last active July 9, 2020 23:31
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 SmetDenis/e459c6c134f3c6f6ed8c9e3bdd63518f to your computer and use it in GitHub Desktop.
Save SmetDenis/e459c6c134f3c6f6ed8c9e3bdd63518f to your computer and use it in GitHub Desktop.
-server
-Xms3G
-Xmx6G
-XX:-UseParNewGC
-XX:-UseConcMarkSweepGC
-XX:+UseG1GC
-XX:+OmitStackTraceInFastThrow
-XX:+AggressiveOpts
-XX:CompileThreshold=4250
-XX:ReservedCodeCacheSize=384m
-XX:+UseCodeCacheFlushing
-XX:+UseCompressedOops
-XX:+HeapDumpOnOutOfMemoryError
-XX:SoftRefLRUPolicyMSPerMB=50
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Dsun.net.inetaddr.ttl=600
# https://github.com/FoxxMD/intellij-jvm-options-explained
################################# Defaults WebStorm
-Xms128m
-Xmx2048m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-XX:CICompilerCount=2
-Dsun.io.useCanonPrefixCache=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Djdk.attach.allowAttachSelf=true
-Dkotlinx.coroutines.debug=off
-Djdk.module.illegalAccess.silent=true
-XX:+UseCompressedOops
-Dfile.encoding=UTF-8
-XX:ErrorFile=$USER_HOME/java_error_in_webstorm_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_webstorm.hprof
############################################# invalid defults
-server
-ea
-Xms2G
-Xmx2048m
-XX:CICompilerCount=4
-XX:ReservedCodeCacheSize=512m
-Dsun.io.useCanonPrefixCache=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Djdk.attach.allowAttachSelf=true
-Dkotlinx.coroutines.debug=off
-Djdk.module.illegalAccess.silent=true
-XX:+UseCompressedOops
-Dfile.encoding=UTF-8
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Dsun.net.inetaddr.ttl=600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment