# Is there any problem that set ES heap size to 64G?

**URL:** <https://discuss.elastic.co/t/is-there-any-problem-that-set-es-heap-size-to-64g/326546>\
**Category:** Elasticsearch\
**Created:** [February 27, 2023, 7:02am UTC](https://discuss.elastic.co/t/is-there-any-problem-that-set-es-heap-size-to-64g/326546 "2023-02-27T07:02:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsop\_479](https://avatars.discourse-cdn.com/v4/letter/v/6f9a4e/32.png) [@vsop\_479](https://discuss.elastic.co/u/vsop_479)\
**Post date:** [February 27, 2023, 7:02am UTC](https://discuss.elastic.co/t/is-there-any-problem-that-set-es-heap-size-to-64g/326546/1 "2023-02-27T07:02:44Z")

</div>

My machine has 512G memory, and i only need 2 ES nodes( 2 shards is enough for my index).  
So, is there any problem that set ES heap size to 64G or more bigger?

---

<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:** [February 27, 2023, 10:46pm UTC](https://discuss.elastic.co/t/is-there-any-problem-that-set-es-heap-size-to-64g/326546/2 "2023-02-27T22:46:26Z")

</div>

In 8.X not so much, but it's probably not a good idea.

Just run multiple smaller nodes on the host using docker.

---

<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:** [March 27, 2023, 10:47pm UTC](https://discuss.elastic.co/t/is-there-any-problem-that-set-es-heap-size-to-64g/326546/3 "2023-03-27T22:47:17Z")

</div>

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