circuit_breaking_exception: CircuitBreakingException[[parent] Data too large, data for [<...>] would be [...], which is larger than the limit of [...]]
ElasticsearchWhat does it mean?
A request was rejected because it would exceed the memory (heap) circuit breaker limit. Elasticsearch stops the request up front to prevent the node from crashing with an OutOfMemoryError. The [parent] breaker guards total memory usage; the [fielddata] breaker guards fielddata memory on text fields.
Why does it happen?
Insufficient JVM heap, very large/complex aggregations, large result sets, large bulk requests, fielddata loaded on text fields, or many heavy concurrent queries filling the heap. It is usually a symptom of heap pressure.
How to fix it
Shrink the queries: reduce aggregation size, bulk batch size and returned fields. Aggregate on the keyword sub-field (.keyword) instead of fielddata on text fields. Increase the JVM heap (~50% of server RAM, at most ~31GB). Monitor heap pressure: GET _cat/nodes?v&h=name,heap.percent. Fix the root cause (memory/query) rather than temporarily raising breaker limits. Check which breaker tripped with GET _nodes/stats/breaker.
More from this engine
- cluster_block_exceptionClusterBlockException[blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block]] (before 7.x: FORBIDDEN/12/index read-only / allow delete (api))
- index_read_only_allow_deleteTOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block (legacy: FORBIDDEN/12/index read-only / allow delete (api))
- high_disk_watermark_exceededhigh disk watermark [90%] exceeded / flood stage disk watermark [95%] exceeded
- mapper_parsing_exceptionmapper_parsing_exception: failed to parse field [...] of type [...]
- strict_dynamic_mapping_exceptionstrict_dynamic_mapping_exception: mapping set to strict, dynamic introduction of [...] within [...] is not allowed
- illegal_argument_exception_fielddataillegal_argument_exception: Fielddata is disabled on text fields by default. Set fielddata=true on [your_field] in order to load fielddata in memory
- search_phase_execution_exceptionsearch_phase_execution_exception: all shards failed / Failed to execute phase [query]