by gjvc · 5y ago · 0 comments
-XX:+IgnoreUnrecognizedVMOptions
-XX:+UnlockExperimentalVMOptions
-XX:+UseZGC
-XX:-UseG1GC
-XX:NewRatio=1
-Xms4G
-Xmx4GThe first runtime I tried was Corretto 17 which crashed on me, and I had to delete some `idea.jdk` file somewhere or other to get IntelliJ to start up again. That file seems to contain which JVM to use when starting IntelliJ, I use Toolbox as well (on Ubuntu).
[1]: https://www.jetbrains.com/help/idea/switching-boot-jdk.html
It does feel snappier though, judging by some of the window operations, which always feel rather spongy and slow, even after the JVM has had a chance to warm up.
JB should consider this change!