Runbook

Tomcat PermGen or Metaspace Usage exceeds 90%

Back to Runbooks

Overview

This incident type occurs when the PermGen or Metaspace usage of the Tomcat server exceeds 90%. PermGen and Metaspace are memory pools used for storing class definitions and metadata of the Java virtual machine (JVM). When these memory pools reach their maximum capacity, the server may experience performance issues or even crash. This incident requires immediate attention from the software engineer to investigate the root cause and take appropriate actions to resolve the issue.

Parameters

Debug

Check the current memory usage of the Tomcat process

Check the current PermGen usage of the Tomcat process

Check the current Metaspace usage of the Tomcat process

Check the limits of the PermGen or Metaspace in the Tomcat configuration

Check the available memory on the server

Check the size of the PermGen or Metaspace in the Tomcat configuration

Repair

Increase the PermGen or Metaspace size in the Tomcat configuration file to accommodate the application's memory usage.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.