# Elasticsearch - getting Circuit breaker exception with sudden spike in Heap usage

**URL:** https://discuss.elastic.co/t/elasticsearch-getting-circuit-breaker-exception-with-sudden-spike-in-heap-usage/329231
**Category:** Elasticsearch
**Created:** [April 3, 2023, 4:00pm UTC](https://discuss.elastic.co/t/elasticsearch-getting-circuit-breaker-exception-with-sudden-spike-in-heap-usage/329231 "2023-04-03T16:00:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![navaneethan](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@navaneethan](https://discuss.elastic.co/u/navaneethan)
#### Post date: [April 3, 2023, 4:00pm UTC](https://discuss.elastic.co/t/elasticsearch-getting-circuit-breaker-exception-with-sudden-spike-in-heap-usage/329231/1 "2023-04-03T16:00:37Z")

</div>

We are having ES 7.3.2 in production and we are getting circuit breaker exception when the heap usage increases suddenly, we have also tested for the same in es 7.17 and 8.x in local but is there any improvement in latest version 8.x in terms of circuit breaker

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 4, 2023, 1:33am UTC](https://discuss.elastic.co/t/elasticsearch-getting-circuit-breaker-exception-with-sudden-spike-in-heap-usage/329231/2 "2023-04-04T01:33:07Z")

</div>

Elasticsearch 8.X will be more efficient in it's resource use which might help your tripping of the breaker.

> [@navaneethan](#):
>
> is there any improvement in latest version 8.x in terms of circuit breaker

But asking this doesn't really fix the underlying issue of why it's tripping and 8.X doesn't have any changes to the way this is handled.

---

<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: [May 2, 2023, 1:33am UTC](https://discuss.elastic.co/t/elasticsearch-getting-circuit-breaker-exception-with-sudden-spike-in-heap-usage/329231/3 "2023-05-02T01:33:32Z")

</div>

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