# Circuit\_breaking\_exception \[parent\] Data too large, data for \[\<http\_request\>\]

**URL:** <https://discuss.elastic.co/t/circuit-breaking-exception-parent-data-too-large-data-for-http-request/239423>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [July 1, 2020, 7:22am UTC](https://discuss.elastic.co/t/circuit-breaking-exception-parent-data-too-large-data-for-http-request/239423 "2020-07-01T07:22:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Netanel\_Malka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/netanel_malka/32/47520_2.png) [@Netanel\_Malka](https://discuss.elastic.co/u/Netanel_Malka)\
**Post date:** [July 1, 2020, 7:22am UTC](https://discuss.elastic.co/t/circuit-breaking-exception-parent-data-too-large-data-for-http-request/239423/1 "2020-07-01T07:22:58Z")

</div>

I'm trying to insert bulk of data( ~60M docs) using spark(39 partitions, 10 concurrent)  
and I get the following exception:

> org.elasticsearch.hadoop.rest.EsHadoopInvalidRequest: org.elasticsearch.hadoop.rest.EsHadoopRemoteException: circuit\_breaking\_exception: [parent] Data too large, data for [\<http\_request\>] would be [146104859024/13.7gb], which is larger than the limit of [146103767449/13.2gb], real usage: [146104859024/13.7gb], new bytes reserved: [0/0b]

I saw on [this post](https://discuss.elastic.co/t/circuitbreakingexception-parent-data-too-large-in-es-7-x/192801) that I can disable `indices.breaker.total.use_real_memory` but I wondered If there is a better solution

> es\_version: 7.7.1  
> java\_version: elastic bundled OpenJDK 14.0.1  
> GC config: -XX:+UseMarkConcMarkSweepGC

---

<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 29, 2020, 7:23am UTC](https://discuss.elastic.co/t/circuit-breaking-exception-parent-data-too-large-data-for-http-request/239423/2 "2020-07-29T07:23:03Z")

</div>

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