Hello,

Well its hard to say without knowing the application details and having seen 
the Gc log. But there is not much you can do besides making the used memory 
smaller or the heap bigger.

If you upload your gc Logfiles to gceasy and tell site to generate a shareable 
link you could post it here so we can get some more details to work with.

https://gceasy.io

Gruss
Bernd
--
http://bernd.eckenfels.net

________________________________
Von: mohd shaban <mohdshaban000...@gmail.com>
Gesendet: Sonntag, Dezember 15, 2019 11:52 AM
An: Bernd Eckenfels
Cc: hotspot-gc-use@openjdk.java.net
Betreff: Re: G1GC : Can we use this GC for low heap size

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 
<e...@zusammenkunft.net<mailto:e...@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-boun...@openjdk.java.net<mailto:hotspot-gc-use-boun...@openjdk.java.net>>
 im Auftrag von mohd shaban 
<mohdshaban000...@gmail.com<mailto:mohdshaban000...@gmail.com>>
Gesendet: Sonntag, Dezember 15, 2019 11:09 AM
An: hotspot-gc-use@openjdk.java.net<mailto:hotspot-gc-use@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@openjdk.java.net<mailto:hotspot-gc-use@openjdk.java.net>
https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use@openjdk.java.net
https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use

Reply via email to