Profile Image
cleverchapters

I don't see Eden regions increasing with G1 GC

With G1 GC configuration, I am observing that the number of Eden regions does not increase with increasing application load. Instead, number of old gens are increasing leading to frequent young gen GCs. Is there way to increase Eden regions dynamically instead of old?


Report URL - https://gceasy.io/my-gc-report.jsp?p=YXJjaGl2ZWQvMjAyMy8xMS80L2cxZ2Mtb2NjdXBhbmN5MzAudHh0LS0xMS00My0zMw==&channel=WEB

    Please Sign In or to post your comment or answer

    Profile Image

    Ram Lakshmanan

    Hello CleverChapters!

     

     G1 GC algorithm dynamically changes the Young Gen (i.e. Eden region) and Old Gen size based in it's internal heuristics algorithms. It's one of the clever features of G1 GC algorithm. You don't want to meddle with it, by explicitly setting Eden region size. Here are some general G1 GC tuning tips

     

     GC Tuning & Troubleshooting Crash Course youtube video might help you.

    Got something else on mind? Post Your Question