Loading

Vector memory pressure

This insight targets HNSW vector indices: dense vectors used for semantic and kNN search whose graphs are held primarily in physical memory (off the Java heap). A node can look healthy on heap charts while HNSW off-heap use still consumes a large share of RAM.

Note

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

Field Value
Component Elasticsearch
Severity High
Scope Node
Domains performance, search, memory, vector

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.

This insight applies to HNSW vector indices: the default in-memory dense-vector index type in Elasticsearch, where the approximate nearest-neighbor graph is kept off the Java heap in node RAM. In what we can measure, the cushion between available RAM and HNSW off-heap footprint is tight or shrinking, and there are other signs of load on the node. That usually means a growing risk of slower kNN search, stuck ingest, or a stressed node if load does not ease. Affected node(s): es-data-01 and es-data-02. 30 Java heap usage: JVM heap is also elevated on this node off-heap vector memory and field data

Note

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

Impact: When HNSW off-heap footprint grows into a tight memory band, kNN and dense-vector workloads on in-memory graphs compete with indexing, search, and disk I/O for the same node. Latency can rise, thread pools can back up, and circuit breakers might trip if pressure continues. AutoOps uses dense-vector desired off-heap size as a proxy for HNSW graph pressure in RAM and requires corroborating subsystem stress before firing. Disk-read and breaker signals only count toward escape when paired with other stress so isolated spikes do not fire the insight alone.