# Elasticsearch: circuit_breaking_exception: [parent] Data too large, data for [<http_request>] would be larger than limit

**Code:** `circuit_breaking_exception` · **Category:** API · **Seen on:** Elasticsearch, OpenSearch

Elasticsearch refused the request to avoid running out of JVM heap.

## Meaning

Circuit breakers stop requests that would push heap use beyond a limit. Heavy aggregations, huge bulk requests and large fielddata trigger it.

## Common causes

- Heap too small for the workload
- Giant bulk or aggregation
- Many shards per node
- Fielddata on high-cardinality fields

## Quick fix

1. Reduce request size (smaller bulk batches)
2. Increase heap (up to about 50% of RAM, max ~31 GB)
3. Reduce shard count

## Detailed fix by platform

### Elasticsearch

1. `GET _nodes/stats/breaker` to see which breaker trips

## How to diagnose

1. **Breaker** — Which one?
2. **Heap** — Usage?
3. **Shards** — Too many?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/api/elasticsearch-circuit-breaking-exception)
