# I want to know details about how we reduced the heap usage per shard

**URL:** https://discuss.elastic.co/t/i-want-to-know-details-about-how-we-reduced-the-heap-usage-per-shard/350346
**Category:** Elasticsearch
**Created:** [January 4, 2024, 3:34am UTC](https://discuss.elastic.co/t/i-want-to-know-details-about-how-we-reduced-the-heap-usage-per-shard/350346 "2024-01-04T03:34:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![emmning](https://avatars.discourse-cdn.com/v4/letter/e/59ef9b/32.png) [@emmning](https://discuss.elastic.co/u/emmning)
#### Post date: [January 4, 2024, 3:34am UTC](https://discuss.elastic.co/t/i-want-to-know-details-about-how-we-reduced-the-heap-usage-per-shard/350346/1 "2024-01-04T03:34:33Z")

</div>

Through this [blog](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster) I see that starting from 8.3, we have significantly reduced Usage of each shard of the heap. I would like to know more details about how we can reduce the heap usage per shard. Anyone knows a PR or blog about this optimization, i can't find it in release note of 8.3

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [January 4, 2024, 9:28am UTC](https://discuss.elastic.co/t/i-want-to-know-details-about-how-we-reduced-the-heap-usage-per-shard/350346/2 "2024-01-04T09:28:15Z")

</div>

It was a combination of lots of small fixes, several of which landed in versions before 8.3 too. See [Fix Large Shard Count Scalability Issues · Issue #77466 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/issues/77466).

---

<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 1, 2024, 9:28am UTC](https://discuss.elastic.co/t/i-want-to-know-details-about-how-we-reduced-the-heap-usage-per-shard/350346/3 "2024-02-01T09:28:16Z")

</div>

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