Profile Image
Anshita Johri

Do I need to increase my XX:MaxMetaspaceSize?

My current config are as below for a pod with 716.2 MiB memory

2) -Xmx512m  3) -Xms512m 4) XX:MaxMetaspaceSize=250m 5) XX:+UseG1C16) Enable GC logs -Xlog:gc*:file={file path)6) -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath 

 

The GC.log file shows that there is a continueous incare in metaspace , and GC analysis recommets to increase XX:MaxMetaspaceSize, but what valuse i should increase to and what sh be the xmx and xms now, i can alos increase the pod memory but what should be the correct ratio for all.


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

  • MaxMetaspaceSize

Please Sign In or to post your comment or answer

Profile Image

Ram Lakshmanan

Hello Anshita!

 Greetings. YOu can consider increasing to -XX:MaxMetaspaceSize=512m. Thanks. 

Got something else on mind? Post Your Question

Not the answer you're looking for? Browse other questions tagged
  • MaxMetaspaceSize