G1GC : Can we use this GC for low heap size
mohd shaban
mohdshaban000123 at gmail.com
Sun Dec 15 10:51:59 UTC 2019
Hi Bernd,
I have verified there is no memory leak but we are getting this error.
Can you suggest how to fix this issue without increasing the size ?
Thanks,
Mohd Shaban
On Sun, Dec 15, 2019 at 4:09 PM Bernd Eckenfels <ecki at zusammenkunft.net>
wrote:
> 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
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20191215/8af778ca/attachment.htm>
More information about the hotspot-gc-use
mailing list