Technologies/Elasticsearch/elasticsearch.node.cache.memory.usage
ElasticsearchElasticsearchMetric

elasticsearch.node.cache.memory.usage

Node cache memory bytes
Dimensions:None
Available on:DatadogDatadog (1)OpenTelemetryOpenTelemetry (1)

Summary

Measures total memory consumed by node-level caches including query cache, request cache, and shard request cache. Cache memory is part of heap usage and competes with other heap consumers. The field data cache eviction thrash insight notes that cache pressure leads to evictions, degrading performance. Monitoring cache memory helps balance cache benefits against heap pressure.

Interface Metrics (2)
DatadogDatadog
The memory used by the query cache [v1.4.0+].
Dimensions:None
OpenTelemetryOpenTelemetry
The size in bytes of the cache on a node.
Dimensions:None
Related Insights (1)
Field Data Cache Eviction Thrashwarning

Field data (inverted reverse index for aggregations) loads into JVM heap on first access and persists for segment lifetime. When circuit breaker limit or cache size is too small, frequent evictions cause repeated expensive field data loading, spiking CPU and heap pressure.