# Elasticsearch crashes when heap size gradually reaches 100% for bigger queries

**URL:** <https://discuss.elastic.co/t/elasticsearch-crashes-when-heap-size-gradually-reaches-100-for-bigger-queries/183710>\
**Category:** Elasticsearch\
**Created:** [May 31, 2019, 11:07am UTC](https://discuss.elastic.co/t/elasticsearch-crashes-when-heap-size-gradually-reaches-100-for-bigger-queries/183710 "2019-05-31T11:07:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjalla](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@rjalla](https://discuss.elastic.co/u/rjalla)\
**Post date:** [May 31, 2019, 11:07am UTC](https://discuss.elastic.co/t/elasticsearch-crashes-when-heap-size-gradually-reaches-100-for-bigger-queries/183710/1 "2019-05-31T11:07:48Z")

</div>

Elasticsearch crashes when heap size gradually reaches 100% for bigger queries. We are using Elastcsearch 6.2.3. and we have around 200 queries and executing the same sequentially. But after couple of minutes, heap size reaches 100% and crashes.  
Is there any why I can clear the cache/data to bring it down the heap size.

Looking for some solution.

---

<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 28, 2019, 11:07am UTC](https://discuss.elastic.co/t/elasticsearch-crashes-when-heap-size-gradually-reaches-100-for-bigger-queries/183710/2 "2019-06-28T11:07:52Z")

</div>

Closed on June 28, 2019, 11:07am UTC

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