Last active
July 27, 2022 05:37
-
-
Save Zheaoli/56ce1aa44cbde45db9625fe842b12b05 to your computer and use it in GitHub Desktop.
This is a JVM config for Jetbrains IDE on my laptop(With i9 10th CPU and 64G RAM)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Xms128m | |
-Xmx8182m | |
-XX:ReservedCodeCacheSize=512m | |
-XX:CICompilerCount=2 | |
-XX:+HeapDumpOnOutOfMemoryError | |
-XX:-OmitStackTraceInFastThrow | |
-XX:+UnlockExperimentalVMOptions -XX:+UseZGC | |
-XX:ZCollectionInterval=120 -XX:ZAllocationSpikeTolerance=5 | |
-XX:+UnlockDiagnosticVMOptions -XX:-ZProactive |
It would be nicer to have the host machine hardware configuration, such as cpu and memory info
Good Idea
If you trying to use JBR17/JDK17, maybe you could use the config options below
-Xms128m
-Xmx8182m
-XX:ReservedCodeCacheSize=512m
-XX:CICompilerCount=2
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:+UnlockExperimentalVMOptions -XX:+UseZGC
-XX:ZCollectionInterval=120
-XX:-ZProactive
-XX:NewRatio=2
-XX:ReservedCodeCacheSize=1024m
-XX:+AlwaysPreTouch
-Djava.net.preferIPv4Stack=true
-XX:LargePageSizeInBytes=1024m
-XX:+UseCodeCacheFlushing
-XX:+UseSplitVerifier
-XX:CompileThreshold=10000
-XX:+OptimizeStringConcat
-ea
-Dsun.java2d.metal=true
fix typo 8182 -> 8192
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nicer to have the host machine hardware configuration, such as cpu and memory info