# Elasticsearch 5.2.1 occupies more RAM space

**URL:** <https://discuss.elastic.co/t/elasticsearch-5-2-1-occupies-more-ram-space/86867>\
**Category:** Elasticsearch\
**Created:** [May 23, 2017, 9:48pm UTC](https://discuss.elastic.co/t/elasticsearch-5-2-1-occupies-more-ram-space/86867 "2017-05-23T21:48:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajkamalkool6](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@rajkamalkool6](https://discuss.elastic.co/u/rajkamalkool6)\
**Post date:** [May 23, 2017, 9:48pm UTC](https://discuss.elastic.co/t/elasticsearch-5-2-1-occupies-more-ram-space/86867/1 "2017-05-23T21:48:54Z")

</div>

Hi,

I have installed `ES 5.2.1` in my linus box `RHEL 7.2.` I have 32 Gb of RAM in my box. In my elasticsearch.yml I have set the property `bootstrap.memory_lock: true` and I have configured my heap sie as `-Xms16g -Xmx16g`.. I have 5 nodes in my cluster 1 tribe and 4 master/data node. Sometimes in any node the heap sie getting overflowed and the node is becoming unresponsive. When i check the RAM using the command`free -h` . It shows only 500MB is available.

let me know is there any other settings which I need to take care either in sever or in component level.

---

<div class="post-metadata">

**Author:** ![Leandro\_Sampaio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandro_sampaio/32/18409_2.png) [@Leandro\_Sampaio](https://discuss.elastic.co/u/Leandro_Sampaio)\
**Post date:** [May 23, 2017, 10:45pm UTC](https://discuss.elastic.co/t/elasticsearch-5-2-1-occupies-more-ram-space/86867/2 "2017-05-23T22:45:51Z")

</div>

Hi

Could You count cache filesystem ??

---

<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:** [May 24, 2017, 5:19am UTC](https://discuss.elastic.co/t/elasticsearch-5-2-1-occupies-more-ram-space/86867/3 "2017-05-24T05:19:01Z")

</div>

You cannot exceed whatever you have defined as heap. If `free` shows very little memory then it's going to be the OS using it.

---

<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:** [June 21, 2017, 5:19am UTC](https://discuss.elastic.co/t/elasticsearch-5-2-1-occupies-more-ram-space/86867/4 "2017-06-21T05:19:04Z")

</div>

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