# High Heap Usage

**URL:** <https://discuss.elastic.co/t/high-heap-usage/249060>\
**Category:** Elasticsearch\
**Created:** [September 18, 2020, 5:44am UTC](https://discuss.elastic.co/t/high-heap-usage/249060 "2020-09-18T05:44:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yasir\_khatri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yasir_khatri/32/75801_2.png) [@yasir\_khatri](https://discuss.elastic.co/u/yasir_khatri)\
**Post date:** [September 18, 2020, 5:44am UTC](https://discuss.elastic.co/t/high-heap-usage/249060/1 "2020-09-18T05:44:35Z")

</div>

We are using single node of elasticsearch v7.9.1 with 3.0 Tb of data. The rollover size is 10 gb 3 shards per index, that makes in 3.33 gb per shard.  
I need help troubleshooting these issues:

- The heap usage is always around 85%, though the heap size is 20gigs.
- We are constantly getting Data too large exception, when indexing more data.

My guess is the rollover size is too small which is creating too many small shards and causing high heap usage and thats tripping the circuit breaker

Please Advice

Thanks and Regrads

---

<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:** [September 20, 2020, 9:37pm UTC](https://discuss.elastic.co/t/high-heap-usage/249060/2 "2020-09-20T21:37:55Z")

</div>

Welcome to our community! 😃

> [@yasir\_khatri](#):
>
> The rollover size is 10 gb 3 shards per index, that makes in 3.33 gb per shard

That's pretty inefficient. I would suggest you increase that and shrink some of your indices.

---

<div class="post-metadata">

**Author:** ![yasir\_khatri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yasir_khatri/32/75801_2.png) [@yasir\_khatri](https://discuss.elastic.co/u/yasir_khatri)\
**Post date:** [September 21, 2020, 10:10am UTC](https://discuss.elastic.co/t/high-heap-usage/249060/3 "2020-09-21T10:10:12Z")

</div>

Thanks for replaying, any suggestion what `max_size` should i use for rollover?  
Regards,

---

<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:** [September 21, 2020, 8:31pm UTC](https://discuss.elastic.co/t/high-heap-usage/249060/4 "2020-09-21T20:31:43Z")

</div>

We normally suggest in the range of 30-50GB.

---

<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:** [October 19, 2020, 8:31pm UTC](https://discuss.elastic.co/t/high-heap-usage/249060/5 "2020-10-19T20:31:46Z")

</div>

Closed on October 19, 2020, 8:31pm UTC

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