Skip to content

Instantly share code, notes, and snippets.

@Zheaoli
Last active July 27, 2022 05:37
Show Gist options
  • Save Zheaoli/56ce1aa44cbde45db9625fe842b12b05 to your computer and use it in GitHub Desktop.
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)
-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
@cfw
Copy link

cfw commented Mar 7, 2022

fix typo 8182 -> 8192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment