# Circuit Breaker Exception

**URL:** https://discuss.elastic.co/t/circuit-breaker-exception/318572
**Category:** Elasticsearch
**Created:** [November 9, 2022, 5:13pm UTC](https://discuss.elastic.co/t/circuit-breaker-exception/318572 "2022-11-09T17:13:29Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Somya\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/somya_sharma/32/102983_2.png) [@Somya\_Sharma](https://discuss.elastic.co/u/Somya_Sharma)
#### Post date: [November 9, 2022, 5:13pm UTC](https://discuss.elastic.co/t/circuit-breaker-exception/318572/1 "2022-11-09T17:13:29Z")

</div>

```auto
{
  'error': {
    'type': 'circuit_breaking_exception',
    'reason': '[parent] Data too large, data for [<http_request>] would be [123848638/118.1mb], which is larger than the limit of [123273216/117.5mb], real usage: [120182112/114.6mb], new bytes reserved: [3666526/3.4mb]',
    'bytes_wanted': 123848638,
    'bytes_limit': 123273216,
    'durability': 'TRANSIENT'
  },
  'status': 429
}

```

I am getting a circuit breaker exception. I am trying to understand the error message.

- [123273216/117.5mb] - parent circuit breaker limit (95%).
- new bytes reserved [3666526/3.4mb] - this means the new request memory needs
- [123848638/118.1mb] - current heap + new bytes reserved
- real usage: [120182112/114.6mb] - current heap status

Is my understanding correct?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 9, 2022, 5:43pm UTC](https://discuss.elastic.co/t/circuit-breaker-exception/318572/2 "2022-11-09T17:43:33Z")

</div>

What heap size do you have configured?

Which version of Elasticsearch are you using?

---

<div class="post-metadata">

### Author: ![Somya\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/somya_sharma/32/102983_2.png) [@Somya\_Sharma](https://discuss.elastic.co/u/Somya_Sharma)
#### Post date: [November 9, 2022, 5:49pm UTC](https://discuss.elastic.co/t/circuit-breaker-exception/318572/3 "2022-11-09T17:49:46Z")

</div>

Heap Size - 124 mb  
Version - 7.10

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 9, 2022, 5:53pm UTC](https://discuss.elastic.co/t/circuit-breaker-exception/318572/4 "2022-11-09T17:53:40Z")

</div>

I do not think I have ever seen Elasticsearch node run with successfully with a heap smaller than 512MB, especially for older versions like the one you are using, and that would generally only be suitable for a small test instance. I would recommend you increase the heap size to a minimum of 512MB.

---

<div class="post-metadata">

### Author: ![Somya\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/somya_sharma/32/102983_2.png) [@Somya\_Sharma](https://discuss.elastic.co/u/Somya_Sharma)
#### Post date: [November 9, 2022, 6:01pm UTC](https://discuss.elastic.co/t/circuit-breaker-exception/318572/5 "2022-11-09T18:01:24Z")

</div>

ok. I want to understand the error. Is the below interpretation correct according to the error?

- [123273216/117.5mb] - parent circuit breaker limit (95%).
- new bytes reserved [3666526/3.4mb] - this means the new request memory needs
- [123848638/118.1mb] - current heap + new bytes reserved
- real usage: [120182112/114.6mb] - current heap status

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 7, 2022, 6:01pm UTC](https://discuss.elastic.co/t/circuit-breaker-exception/318572/6 "2022-12-07T18:01:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
