Something I've tried recently is changing from the default Java 11 JetBrains runtime to Amazon Corretto 15. Start up is blazingly fast now and overall the IDE feels faster once running as well, though I haven't profiled so that may just be an impression. There is a message when you go to change the runtime warning that you shouldn't do it unless asked to do so by JetBrains support, but that seems overly conservative and this has been (I think) the biggest improvement in performance for my set up so far. Font rendering was much worse initially but after some tweaking of font settings it's more than acceptable.<p>I'm also trying out using the Z garbage collector and setting the ratio of young to old generation to 1, as suggested here[1], as I often have multiple projects open at once. I'm not sure how much of an impact this is having though as I'm trying this all together, but the heap memory indicator does seem to fill up substantially more when indexing before a garbage collection happens.<p>[1]: https://www.jetbrains.com/help/idea/tuning-the-ide.html#common-jvm-options
I'm so sick of this. I understand that VsCode is popular, but for Python and Rust, Intellij's management of multi-file projects, and code introspection is much nicer. But It's almost daily PyCharm hard locks up for me, or uses most of my available ram.
I use these custom VM options. How do you change the JVM cleanly in a way which doesn't confuse the toolbox app or launching machinery?<p><pre><code> -XX:+IgnoreUnrecognizedVMOptions
-XX:+UnlockExperimentalVMOptions
-XX:+UseZGC
-XX:-UseG1GC
-XX:NewRatio=1
-Xms4G
-Xmx4G</code></pre>