Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save samplenull/3a18d82bb4e65026b4439e129137f142 to your computer and use it in GitHub Desktop.
Save samplenull/3a18d82bb4e65026b4439e129137f142 to your computer and use it in GitHub Desktop.
VM options for Intelij, if typing cause high CPU usage
see ticket https://youtrack.jetbrains.com/issue/IJPL-29858/High-CPU-Usage-while-typing-JIT-Compiler-goes-over-300
-Dsun.java2d.metal is workaround for old macsm fixes transparency issues
-Dsun.java2d.metal=false
-XX:Tier4MinInvocationThreshold=100000
-XX:Tier4InvocationThreshold=110000
-XX:Tier4CompileThreshold=120000
-Xmx2048m
-Dide.managed.by.toolbox=/Applications/JetBrains Toolbox.app/Contents/MacOS/jetbrains-toolbox
-Dtoolbox.notification.token=07e05f79-6e2c-4bd2-a23e-c70c88dc0c29
-Dtoolbox.notification.portFile=/Users/kai/Library/Caches/JetBrains/Toolbox/ports/145383697.port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment