Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How should I set InitiatingHeapOccupancyPercent of G1GC for NameNode with high usage of jvm heap

avatar
Contributor

Now I are trying to change GC from CMS to G1GC.

And let's say, current situation of NameNode with CMS are

Physical memory size : 140 GB
-Xmx100G -Xms100G
current actual heap usage : 70 - 80 GB (So, usage is around 80%.)
-XX:InitiatingHeapOccupancyPercent : 90

The default value of "-XX:InitiatingHeapOccupancyPercent" is 45. If I set 45% for "-XX:InitiatingHeapOccupancyPercent" for this NameNode, I think, current heap usage always hits the threshold...

Could you advice how I should tune "-XX:InitiatingHeapOccupancyPercent" for this NameNode?

2 REPLIES 2

avatar
Contributor

Sorry, There was copy and paste miss in question above. Now we use "-XX:CMSInitiatingOccupancyFraction=90" for current NameNode with CMS.

avatar
New Contributor

I don't know more about this topic.any way thanks a lot for sharing such a useful post.i really like to read this article.here described informations are very useful for me.thanks a lot for sharing this post.i hope you more post. best gold necklace shop dubai