# Elasticsearch 7.3 Heap Usage

**URL:** https://discuss.elastic.co/t/elasticsearch-7-3-heap-usage/195543
**Category:** Elasticsearch
**Created:** [August 16, 2019, 6:07pm UTC](https://discuss.elastic.co/t/elasticsearch-7-3-heap-usage/195543 "2019-08-16T18:07:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Spock\_Tgai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spock_tgai/32/48680_2.png) [@Spock\_Tgai](https://discuss.elastic.co/u/Spock_Tgai)
#### Post date: [August 16, 2019, 6:07pm UTC](https://discuss.elastic.co/t/elasticsearch-7-3-heap-usage/195543/1 "2019-08-16T18:07:22Z")

</div>

Hi, We are running the latest version of elasticsearch on 16GB box with 8GB allocated to the heap. Previously the same was running elasticsearch 6.5

The heap does not seem to be reducing this is the pattern we see over 2 days, with stalling pauses at each of the steps causing queries to fail.

Any suggestions on what might be happening ?

![06%20AM](https://us1.discourse-cdn.com/elastic/original/3X/5/9/59c9e49eb28f333f04063aabe04e2a6a6f286122.png)

---

<div class="post-metadata">

### Author: ![Spock\_Tgai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spock_tgai/32/48680_2.png) [@Spock\_Tgai](https://discuss.elastic.co/u/Spock_Tgai)
#### Post date: [August 17, 2019, 7:00pm UTC](https://discuss.elastic.co/t/elasticsearch-7-3-heap-usage/195543/2 "2019-08-17T19:00:48Z")

</div>

Any suggestion ? Our cluster crashed today when we tried to do reindexing with a OOM error.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [August 17, 2019, 7:10pm UTC](https://discuss.elastic.co/t/elasticsearch-7-3-heap-usage/195543/3 "2019-08-17T19:10:40Z")

</div>

The heap usually grows until it reaches 75%, which in this case should be 6GB, at which point GC is run. Given that your graph is far lower I do not see any problem. Is there anything in the Elasticsearch logs? Exactly how did it crash? Any custom settings or configurations?

---

<div class="post-metadata">

### Author: ![Spock\_Tgai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spock_tgai/32/48680_2.png) [@Spock\_Tgai](https://discuss.elastic.co/u/Spock_Tgai)
#### Post date: [August 19, 2019, 1:42am UTC](https://discuss.elastic.co/t/elasticsearch-7-3-heap-usage/195543/4 "2019-08-19T01:42:55Z")

</div>

The crash was triggered through the reindexing. Interestingly the issue was resolved after changing to the G1GC collector

---

<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: [September 16, 2019, 1:42am UTC](https://discuss.elastic.co/t/elasticsearch-7-3-heap-usage/195543/5 "2019-09-16T01:42:57Z")

</div>

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