# 7.15 auto heap for none data node

**URL:** <https://discuss.elastic.co/t/7-15-auto-heap-for-none-data-node/288446>\
**Category:** Elasticsearch\
**Created:** [November 4, 2021, 6:31pm UTC](https://discuss.elastic.co/t/7-15-auto-heap-for-none-data-node/288446 "2021-11-04T18:31:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![linkerc](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@linkerc](https://discuss.elastic.co/u/linkerc)\
**Post date:** [November 4, 2021, 6:31pm UTC](https://discuss.elastic.co/t/7-15-auto-heap-for-none-data-node/288446/1 "2021-11-04T18:31:10Z")

</div>

I have noticed that none data node still allocates half of system RAM.  
Wouldn't it make more sense to allocate more RAM for ES heap in such node?  
We don't really need to leave too much RAM for the system since there's no file caching.  
My node has 32GB of RAM and ES takes about 15GB with the default auto config.

In our old 7.3.1 cluster, we manually allocate 25GB of RAM for ES heap and leave the rest about 7GB for system and it runs fine.

---

<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:** [November 4, 2021, 11:11pm UTC](https://discuss.elastic.co/t/7-15-auto-heap-for-none-data-node/288446/2 "2021-11-04T23:11:23Z")

</div>

We recommend having 50% of total host memory assigned to the heap, and leaving the other 50% for the OS.

---

<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:** [December 2, 2021, 11:12pm UTC](https://discuss.elastic.co/t/7-15-auto-heap-for-none-data-node/288446/3 "2021-12-02T23:12:16Z")

</div>

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