ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Java OutOfMemoryError: Metaspace in app-system or bg-system.log, low memory usage in heap dump


Article ID: 128527


Updated On:


Clarity PPM SaaS Clarity PPM On Premise


Alert showed java.lang.OutOfMemoryError in the app-system.log file.

Upon checking the heap dump we could see low memory usage and nothing out of ordinary. This is not a heap space issue but metaspace issue.

Error from the system log:
2019/02/21 08:23:23.414 | java.lang.OutOfMemoryError: Metaspace


Release: 15.4.1


  • Check the current value for Metaspace in the properties.xml in jvmParameters for the affected service. This value may have to be increased.
    If you have -XX:MaxMetaspaceSize=192m
    You may want to increase to:
  • Also check for anything done on this server during this time (another process that could take all the available RAM).