jvm.memory.heap.max
JVM heap max bytesSummary
Indicates the maximum heap memory configured for the JVM (-Xmx setting). This is a static configuration value that represents the upper bound of heap memory available to Elasticsearch. Comparing current heap usage against this maximum reveals how close the cluster is to heap exhaustion, which can trigger aggressive garbage collection or out-of-memory errors.
Interface Metrics (7)
Related Insights (2)
When JVM heap usage stays above 85% for extended periods, garbage collection pauses increase dramatically, leading to node unresponsiveness, cluster state propagation failures, and potential split-brain scenarios.
Too many shards consume cluster resources even when idle, causing slow queries, increased overhead, and reduced stability. Rule of thumb: keep shards below 20 per GB of heap configured.