# ElasticSearch CircuitBreakingException

**URL:** https://discuss.elastic.co/t/elasticsearch-circuitbreakingexception/131442
**Category:** Elasticsearch
**Created:** [May 11, 2018, 9:06am UTC](https://discuss.elastic.co/t/elasticsearch-circuitbreakingexception/131442 "2018-05-11T09:06:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dazith\_Kj](https://avatars.discourse-cdn.com/v4/letter/d/b77776/32.png) [@Dazith\_Kj](https://discuss.elastic.co/u/Dazith_Kj)
#### Post date: [May 11, 2018, 9:06am UTC](https://discuss.elastic.co/t/elasticsearch-circuitbreakingexception/131442/1 "2018-05-11T09:06:33Z")

</div>

When querying date from dashboards I am getting the below exception in ES log. Any idea of how to resolving the issue?

ES version :

```
{
"name": "Plunderer",
"cluster_name": "elasticsearch",
"cluster_uuid": "9LjKXnnbRD-deirsIlx-zQ",
"version": {
"number": "2.4.6",
"build_hash": "5376dca9f70f3abef96a77f4bb22720ace8240fd",
"build_timestamp": "2017-07-18T12:17:44Z",
"build_snapshot": false,
"lucene_version": "5.5.4"
},
"tagline": "You Know, for Search"
}

```

**Tail of the elasticsearch.log**

> Caused by: **CircuitBreakingException[[request] Data too large, data for [\<reused\_arrays\>] would be larger than limit of [422523699/402.9mb]]**  
> at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.circuitBreak(ChildMemoryCircuitBreaker.java:97)  
> at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.addEstimateBytesAndMaybeBreak(ChildMemoryCircuitBreaker.java:147)  
> at org.elasticsearch.common.util.BigArrays.adjustBreaker(BigArrays.java:396)  
> at org.elasticsearch.common.util.BigArrays.resizeInPlace(BigArrays.java:426)  
> at org.elasticsearch.common.util.BigArrays.resize(BigArrays.java:472)  
> at org.elasticsearch.common.util.BigArrays.grow(BigArrays.java:489)  
> at org.elasticsearch.search.aggregations.metrics.cardinality.HyperLogLogPlusPlus.ensureCapacity(HyperLogLogPlusPlus.java:197)  
> at org.elasticsearch.search.aggregations.metrics.cardinality.HyperLogLogPlusPlus.collect(HyperLogLogPlusPlus.java:230)  
> at org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityAggregator$DirectCollector.collect(CardinalityAggregator.java:203)  
> at org.elasticsearch.search.aggregations.bucket.BucketsAggregator.collectExistingBucket(BucketsAggregator.java:80)  
> at org.elasticsearch.search.aggregations.bucket.terms.GlobalOrdinalsStringTermsAggregator$2.collect(GlobalOrdinalsStringTermsAggregator.java:130)  
> at org.elasticsearch.search.aggregations.LeafBucketCollector.collect(LeafBucketCollector.java:88)

**Current heap sizes allocated in the environment**

```
root@localhost:/etc/elasticsearch# java -XX:+PrintFlagsFinal -version | grep -iE 'HeapSize|PermSize|ThreadStackSize'
     intx CompilerThreadStackSize = 0 {pd product}
    uintx ErgoHeapSizeLimit = 0 {product}
    uintx HeapSizePerGCThread = 87241520 {product}
    uintx InitialHeapSize := 50331648 {product}
    uintx LargePageHeapSizeThreshold = 134217728 {product}
    uintx MaxHeapSize := 790626304 {product}
     intx ThreadStackSize = 1024 {pd product}
     intx VMThreadStackSize = 1024 {pd product}

```

---

<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: [June 8, 2018, 9:06am UTC](https://discuss.elastic.co/t/elasticsearch-circuitbreakingexception/131442/2 "2018-06-08T09:06:38Z")

</div>

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