3 ms·
Use a different GC, like e.g. the ZGC. I don't see any hangs anymore.
by namibj 7y ago
Use a different GC, like e.g. the ZGC. I don't see any hangs anymore.
- staticassertion 7y agoI'm reluctant to use non-standard settings that the intellij team may not be optimizing for.
- monadic2 7y agoThe default vm settings aren’t great. I would also give the vm plenty of heap space.
- mister_hn 7y agoFor ZGC on Mac or Windows, you need to use latest Java 14 (not yet released)
- kjeetgill 7y agoWhile I'm sure it's useful, JVM advice like this is usually less helpful than how much ram you're giving it (Xmx, xms). Particularly because you'll have an entirely different experience between an RPi, laptop, or desktop.