# CircuitBreakingException

**URL:** https://discuss.elastic.co/t/circuitbreakingexception/56356
**Category:** Elasticsearch
**Created:** [July 26, 2016, 6:49am UTC](https://discuss.elastic.co/t/circuitbreakingexception/56356 "2016-07-26T06:49:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Selvam\_ayyanar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/selvam_ayyanar/32/11101_2.png) [@Selvam\_ayyanar](https://discuss.elastic.co/u/Selvam_ayyanar)
#### Post date: [July 26, 2016, 6:49am UTC](https://discuss.elastic.co/t/circuitbreakingexception/56356/1 "2016-07-26T06:49:40Z")

</div>

Hi All,

Iam getting below exceptions, let me know what need to do here?

**Caused by: org.elasticsearch.ElasticsearchException: org.elasticsearch.common.breaker.CircuitBreakingException: Data too large, data for field [lastName.sortable] would be larger than limit of [425027174/405.3mb]**  
at org.elasticsearch.index.fielddata.AbstractIndexFieldData.load(AbstractIndexFieldData.java:79)  
at org.elasticsearch.index.fielddata.plain.AbstractBytesIndexFieldData.load(AbstractBytesIndexFieldData.java:41)  
at org.elasticsearch.index.fielddata.fieldcomparator.BytesRefOrdValComparator.setNextReader(BytesRefOrdValComparator.java:294)  
at org.elasticsearch.index.fielddata.fieldcomparator.BytesRefOrdValComparator$PerSegmentComparator.setNextReader(BytesRefOrdValComparator.java:155)  
at org.apache.lucene.search.TopFieldCollector$OneComparatorNonScoringCollector.setNextReader(TopFieldCollector.java:97)  
at org.elasticsearch.common.lucene.search.FilteredCollector.setNextReader(FilteredCollector.java:67)  
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:612)  
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:175)  
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:581)  
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:533)  
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:510)  
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:345)  
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:149)  
... 7 more

But **[http://XX.XX.XX.XX](http://XX.XX.XX.XX):YYYY/\_nodes/stats/indices/fielddata?fields=lastName.sortable&human&pretty**  
Shows the the field size is less than **50Mb** in all nodes.

FYI  
ES\_HEAP\_SIZE= 2048m  
indices.memory.index\_buffer\_size: 20%  
indices.fielddata.cache.size: 30%  
indices.fielddata.breaker.limit: 20%  
indices.cache.filter.size: 5%

---

<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: [July 26, 2016, 10:38am UTC](https://discuss.elastic.co/t/circuitbreakingexception/56356/2 "2016-07-26T10:38:48Z")

</div>

Increase your heap size, decrease the amount of data you are querying, add more nodes, use doc values.  
Basically any of the 3 and definitely the last one.

---

<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: [July 5, 2017, 10:32pm UTC](https://discuss.elastic.co/t/circuitbreakingexception/56356/3 "2017-07-05T22:32:56Z")

</div>


