GitHub user lkishalmi added a comment to the discussion: Support Shenandoah GC / jdk 25
Well actually with recent JDK-s if you are a bit low on memory G1 is the best choice. Shenondoah and ZGC has more focus on low latency GC, which is not really that appealing for an IDE use-case. That also comes more native memory overhead (8-10% of Heap space vs ~2% on G1) Also yes G1 is also capable of give back memory to the OS if there is a memory pressure (or manually enforced full GC). If you are bit low on RAM the best thing would be limit the maximum heap and use `-XX:+UseCompactObjectHeaders` . With that and G1 the IDE works surprisingly well with sub 1Gb max heap space. GitHub link: https://github.com/apache/netbeans/discussions/8839#discussioncomment-15114483 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
