Loading

Heap Size

JVM heap usage on a node is at or near its configured limit. Near-cap heap leads to slower operations, more garbage collection, and a higher chance of node failure or disconnect.

Note

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

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

You can customize these settings to adjust when AutoOps detects this event and presents the insight. Refer to AutoOps event settings for details.

The default customization settings are:

Setting Type Default
High Heap threshold percent Percentage 10
Successive samplings to trigger Integer 3
Search queue threshold Integer 5
Search latency threshold (ms) Integer 250
Write queue threshold Integer 1
Index latency threshold (ms) Integer 80
Tip

Raising these thresholds reduces noise but delays detection. Lowering them triggers the insight sooner but can increase alerts during minor blips.

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.

The memory usage is too high on node: es-data-01 and es-data-02 The percent of memory used is: 30.

Current max heap size is: 500 GBGB. High search activity indices:logs-prod-000045 High indexing activity indices:logs-prod-000045

Note

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

Impact: This could cause node disconnection, affect index and search operations, and cause service interruptions. Heap size is the amount of RAM allocation to the Java Virtual Machine of a node. There can be a number of reasons why heap memory usage can increase. It’s important to keep the heap size at the right balance for proper function of your nodes.