Heap size above recommended max

The JVM heap on a node is configured at or above the compressed ordinary object pointers (COOPs) threshold (about 26 to 30 GB on most systems). Above that range, COOPs might be turned off and heap efficiency drops, which hurts node performance.

Note

For a complete list of insights, refer to AutoOps insights.

Field Value
Component Elasticsearch
Severity Medium
Scope Node
Domains performance, memory, stability

The following is an example of what you might see when this insight is triggered. Real insights use live data and links from your deployment or cluster.

Node es-data-01 has heap size configured to 30.

Note

AutoOps shows different recommendations depending on how their conditions match your deployment or cluster.

JVM heap size is set with environment variables or jvm.options. On data nodes, heap is typically at most about half of available RAM so the operating system and file-system cache still have room.

Past a system-dependent limit around 26 to 30 GB, the JVM might stop using compressed ordinary object pointers. Pointers grow and heap efficiency drops, so larger heaps past that threshold often perform worse rather than better. Scaling with more nodes is usually more effective than pushing a single heap past the compression threshold.

High JVM memory pressure