Runbook

"High JVM Heap Usage in Elasticsearch"

Back to Runbooks

Overview

This incident type refers to situations where the percentage of the Java Virtual Machine (JVM) heap being used by Elasticsearch exceeds a certain threshold. The JVM heap is a portion of memory allocated to the JVM for running the Elasticsearch application, and if it becomes too full, it can cause the system to slow down or crash. This incident often requires investigation to identify the root cause of the high heap usage and may involve adjusting configuration settings or optimizing the Elasticsearch environment to prevent similar incidents from occurring in the future.

Parameters

Debug

Check Elasticsearch cluster health

Check Elasticsearch node stats

Check Elasticsearch JVM heap usage

Check Elasticsearch JVM heap size

Repair

Increase the heap size of the JVM allocated to Elasticsearch. This can be done by updating the JVM options in Elasticsearch's configuration file.

Learn more

Related Runbooks

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