4 ms·
For sure. I like IntelliJ, all I want is for it to be snappier; it gets pretty laggy with bigger files (like, more than one screen), it seems to have to do a lo
by Cthulhu_ 5y ago
For sure. I like IntelliJ, all I want is for it to be snappier; it gets pretty laggy with bigger files (like, more than one screen), it seems to have to do a lot of work that interrupts the main UI thread when it comes to redoing syntax highlighting and error checking.
I mean, the main reason why I'm not using vs code for most of my work is because it's cmd+click to go to definition isn't as good, auto/hotfixes aren't as good, and refactoring support is pretty much nonexistent.
- kaba0 5y agoI 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-run-faster/ 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.
- atombender 5y agoI 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.
- kaba0 5y agoThen 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.
- atombender 5y agoThe only JVM that comes up on my Mac is JBRSDK 11, not sure if it has G1.