Skip to content

Instantly share code, notes, and snippets.

@gburd
Last active June 8, 2022 16:54
Show Gist options
  • Save gburd/a762ae8abb90ea281182c15276caca57 to your computer and use it in GitHub Desktop.
Save gburd/a762ae8abb90ea281182c15276caca57 to your computer and use it in GitHub Desktop.
IntelliJ 2021.2.4 config
-Xms128m
-Xmx2048m
-XX:ReservedCodeCacheSize=512m
-XX:+UseG1GC
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:CICompilerCount=2
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-ea
-Dsun.io.useCanonCaches=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off
-Dhidpi=true
-Dsun.java2d.uiScale.enabled=false
-Dide.ui.scale=1.0
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
-server
-XX:MetaspaceSize=128M
-XX:MaxMetaspaceSize=512M
-XX:+AlwaysPreTouch
-Xms128m
-Xmx512M
-XX:ReservedCodeCacheSize=512m
-XX:+UseG1GC
-XX:+UseStringDeduplication
-XX:AutoBoxCacheMax=20000
-ea
-Dsun.io.useCanonCaches=false
-Dsun.awt.keepWorkingSetOnMinimize=true
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djsse.enablesSNIExtension=false
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Dfile.encoding=UTF-8
-server
-Xms8G
-Xmx8G
-Xss2M
-XX:+AlwaysPreTouch
-XX:+UnlockExperimentalVMOptions
-XX:+UseShenandoahGC
-XX:+ClassUnloadingWithConcurrentMark
-XX:+ScavengeBeforeFullGC
-XX:+UseTLAB
-XX:+ResizeTLAB
-XX:+ExplicitGCInvokesConcurrent
-XX:+DisableExplicitGC
-XX:+ParallelRefProcEnabled
-XX:+UseNUMA
-XX:+ExitOnOutOfMemoryError
-Dfile.encoding=UTF-8
-Dsun.jnu.encoding=UTF-8
-Dsun.net.inetaddr.ttl=60
-Dnetworkaddress.cache.ttl=60
-Dsun.net.inetaddr.negative.ttl=10
-Dakka.log-config-on-start=on
-XX:+UnlockDiagnosticVMOptions
-XX:-UseBiasedLocking
--add-exports java.base/jdk.internal.util=ALL-UNNAMED
-XX:CompileCommand=dontinline,com/humio/util/HotspotUtilsJ.dontInline
-Xlog:safepoint*,gc*,gc+ref=debug,gc+heap=debug,gc+age=trace:file=/tmp/intelij-gc.log:time,tags:filecount=5,filesize=102400
-server
-ea
-XX:MetaspaceSize=128M
-XX:MaxMetaspaceSize=512M
-XX:ReservedCodeCacheSize=512m
-XX:+AlwaysPreTouch
-Xms128m
-Xmx512M
-XX:Reserved
-XX:+UnlockExperimentalVMOptions
-XX:+UseShenandoahGC
-XX:+ClassUnloadingWithConcurrentMark
-XX:+ScavengeBeforeFullGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+ParallelRefProcEnabled
-XX:+UseStringDeduplication
-XX:+ExitOnOutOfMemoryError
-Dsun.io.useCanonCaches=false
-Dsun.awt.keepWorkingSetOnMinimize=true
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djsse.enablesSNIExtension=false
-Dfile.encoding=UTF-8
-Dsun.jnu.encoding=UTF-8
-Dsun.net.inetaddr.ttl=60
-Dnetworkaddress.cache.ttl=60
-Dsun.net.inetaddr.negative.ttl=10
-XX:+UnlockDiagnosticVMOptions
-XX:-UseBiasedLocking
-Xlog:safepoint*,gc*,gc+ref=debug,gc+heap=debug,gc+age=trace:file=/tmp/intelij-gc.log:time,tags:filecount=5,filesize=102400
-server
-Xms128m
-Xmx2048m
-XX:MetaspaceSize=128M
-XX:MaxMetaspaceSize=512M
-XX:ReservedCodeCacheSize=512m
-XX:+AlwaysPreTouch
-XX:Reserved
-XX:+UnlockExperimentalVMOptions
-XX:+UseShenandoahGC
-XX:+ClassUnloadingWithConcurrentMark
-XX:+ScavengeBeforeFullGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+ParallelRefProcEnabled
-XX:+UseStringDeduplication
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:CICompilerCount=2
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-ea
-Dsun.io.useCanonCaches=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off
-Dhidpi=true
-Dsun.java2d.uiScale.enabled=false
-Dide.ui.scale=1.0
-Dsun.awt.keepWorkingSetOnMinimize=true
-Djava.net.preferIPv4Stack=true
-Djsse.enablesSNIExtension=false
-Dfile.encoding=UTF-8
-Dsun.jnu.encoding=UTF-8
-Dsun.net.inetaddr.ttl=60
-Dnetworkaddress.cache.ttl=60
-Dsun.net.inetaddr.negative.ttl=10
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
-XX:+UnlockDiagnosticVMOptions
-XX:-UseBiasedLocking
-Xlog:safepoint*,gc*,gc+ref=debug,gc+heap=debug,gc+age=trace:file=/tmp/intelij-gc.log:time,tags:filecount=5,filesize=102400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment