G1GC : Can we use this GC for low heap size
Bernd Eckenfels
ecki at zusammenkunft.net
Sun Dec 15 10:39:20 UTC 2019
Hello,
If you get overhead exceeded with default collector (I assume Java 8 Server class aka parallel collector) and small heaps you have a sizing or leak problem, G1 won’t help you there (it might actually make it worse).
Having said that, G1 can also be used for smaller heaps (as can be seen by it beeing default for java9+) but it isn’t that useful, as most of the GC activity should happen with stop the world new collections anyway. ParallelGC with small heaps is the easiest to use IMHO.
Gruß
Bernd
--
https://Bernd.eckenfels.net
________________________________
Von: hotspot-gc-use <hotspot-gc-use-bounces at openjdk.java.net> im Auftrag von mohd shaban <mohdshaban000123 at gmail.com>
Gesendet: Sonntag, Dezember 15, 2019 11:09 AM
An: hotspot-gc-use at openjdk.java.net
Betreff: G1GC : Can we use this GC for low heap size
Hi Team,
We need help regarding G1GC Algorithm , can we use this GC for low heap size around 1GB or this is only for big heap size.
We want to use this GC because we are getting "GC overhead limit exceeds" and application using the default GC collector
Thanks,
Mohd Shaban
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20191215/f091698b/attachment.htm>
More information about the hotspot-gc-use
mailing list