Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don’t know why Jetbrains doesn’t already switch to a newer jdk. I found this tutorial (only the vm options part) to make intellij really snappy: https://iam.georgecox.com/2021/11/24/making-jetbrains-ides-r...

It basically changes the jdk to version 16 (I used one from the openjdk website, not azul) where the new low-latency ZGC garbage collector is available and increases the default heapsize. Now I have a quite large project open with 1.5GB memory used, and it is really smooth all around with no stutters.



I wish this worked. I tried switching to Azul Zulu 15 (macOS), but that rendered the IDE completely non-functional, and I had to switch back.


Then maybe just try switching to G1GC (available in the default jetbrains runtime) and set the ms and mx memory settings to a bit higher. Maybe even experiment a bit with the max pause time setting.


The only JVM that comes up on my Mac is JBRSDK 11, not sure if it has G1.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: