1

We are using G1GC algoritm in PRODUCTION, using this algorithm in -XX+useg1gc in environment. My question is a few servers in PROD are getting high heap usage about 95%, so do we have any arguments or option or mechanism that major GC should happen after reaching threshold level?

halfer
  • 19,824
  • 17
  • 99
  • 186

1 Answers1

0

From the Oracle docs:

-XX:G1ReservePercent=n : Sets the amount of heap that is reserved as a false ceiling to reduce the possibility of promotion failure. The default value is 10.

andrew lorien
  • 2,310
  • 1
  • 24
  • 30