0

We are using open-jdk 11 and 2GB is used as the max heap size. The application works smoother till it has enough Eden space and performance starts to degrade when the Eden space shrinks to less than 300MB. Whenever the oldgen reaches 1GB (50%), the Eden space is shrunk to less than 50GB. When the Eden space goes less than 50MB, the JVM hangs. After restarting only, the application is back to its normal state.

Please help me to understand why it is not expanding more than 1GB (50%) since we have 2GB of the max heap size.

user1433374
  • 185
  • 1
  • 9
  • Could you please elaborate `the JVM hangs`?. is there any log, OOM, ... ? – usuario Nov 18 '22 at 07:07
  • 3
    What is “OpenJDK LL”? And how can the Eden space ever be 50GB, when you have at max 2GB? – Holger Nov 18 '22 at 14:29
  • @usuario There is no OOM. Application has a background job, which usually took 30ms to complete a task, but during the issue time, it gradually increases to more than a minute (or minutes) and after some time there is no response (the last job started and was not completed). By the time, we have restarted the application. – user1433374 Nov 20 '22 at 09:50
  • @Holger It is typo, corrected. – user1433374 Nov 20 '22 at 09:51
  • 1
    It’s still not clear what this double-lowercase-L is supposed to mean. A Roman two, an obfuscated eleven, or something else. – Holger Nov 21 '22 at 11:00

0 Answers0