by jameshiew on 10/16/21, 6:11 PM with 7 comments
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.
[1]: https://www.jetbrains.com/help/idea/tuning-the-ide.html#common-jvm-options
by the__alchemist on 10/17/21, 8:30 PM
by gjvc on 10/16/21, 6:18 PM
-XX:+IgnoreUnrecognizedVMOptions
-XX:+UnlockExperimentalVMOptions
-XX:+UseZGC
-XX:-UseG1GC
-XX:NewRatio=1
-Xms4G
-Xmx4G