# Circuit Breaker Exception, Data too large (12gb)

**URL:** <https://discuss.elastic.co/t/circuit-breaker-exception-data-too-large-12gb/116450>\
**Category:** Elasticsearch\
**Created:** [January 22, 2018, 9:12am UTC](https://discuss.elastic.co/t/circuit-breaker-exception-data-too-large-12gb/116450 "2018-01-22T09:12:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhilash\_Bolla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhilash_bolla/32/26840_2.png) [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Post date:** [January 22, 2018, 9:12am UTC](https://discuss.elastic.co/t/circuit-breaker-exception-data-too-large-12gb/116450/1 "2018-01-22T09:12:31Z")

</div>

Hi,

I find this exception in my logs. Please help in debugging the same.

ES version: 2.4.1  
Java version: 1.8  
Heap allocated: 30gb

```auto
[2018-01-22 06:59:51,212][DEBUG][action.search] [cls-es-master] [publications_v8][2], node[gRYotK3ES_SnUlT4X4S9TA], [P], v[7], s[STARTED], a[id=WnhegkiKSuOgcjF6i5AY6Q]: Failed to execute [org.elasticsearch.action.search.SearchRequest@13aaa50a] lastShard [true]
RemoteTransportException[[cls-es-slave7][10.240.0.52:9300][indices:data/read/search[phase/query]]]; nested: QueryPhaseExecutionException[Query Failed [Failed to execute main query]]; nested: CircuitBreakingException[[request] Data too large, data for [<reused_arrays>] would be larger than limit of [12850010521/11.9gb]];
Caused by: QueryPhaseExecutionException[Query Failed [Failed to execute main query]]; nested: CircuitBreakingException[[request] Data too large, data for [<reused_arrays>] would be larger than limit of [12850010521/11.9gb]];
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:409)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:113)
at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:372)
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:385)
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:368)
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:365)
at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33)
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:77)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.doRun(MessageChannelHandler.java:293)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149

```

Please let me know if any other details are required.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 22, 2018, 9:25am UTC](https://discuss.elastic.co/t/circuit-breaker-exception-data-too-large-12gb/116450/2 "2018-01-22T09:25:17Z")

</div>

What kind of query are you running?  
Are you using `doc_values` (I guess no)?

---

<div class="post-metadata">

**Author:** ![Abhilash\_Bolla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhilash_bolla/32/26840_2.png) [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Post date:** [January 22, 2018, 11:25am UTC](https://discuss.elastic.co/t/circuit-breaker-exception-data-too-large-12gb/116450/3 "2018-01-22T11:25:23Z")

</div>

Unable to debug as to which query caused it as our application has many APIs querying Elasticsearch and queries aren't logged into the logs.

doc\_values is true by default on all the fields I guess...!!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 22, 2018, 11:39am UTC](https://discuss.elastic.co/t/circuit-breaker-exception-data-too-large-12gb/116450/4 "2018-01-22T11:39:01Z")

</div>

> doc\_values is true by default on all the fields I guess...!!

Can you share the mapping?

---

<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:** [February 19, 2018, 11:39am UTC](https://discuss.elastic.co/t/circuit-breaker-exception-data-too-large-12gb/116450/5 "2018-02-19T11:39:18Z")

</div>

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