# Elasticsearch leaking Memory beyond Max Heap Memory

**URL:** <https://discuss.elastic.co/t/elasticsearch-leaking-memory-beyond-max-heap-memory/181829>\
**Category:** Elasticsearch\
**Created:** [May 20, 2019, 1:34pm UTC](https://discuss.elastic.co/t/elasticsearch-leaking-memory-beyond-max-heap-memory/181829 "2019-05-20T13:34:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amitmjadav](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@amitmjadav](https://discuss.elastic.co/u/amitmjadav)\
**Post date:** [May 20, 2019, 1:34pm UTC](https://discuss.elastic.co/t/elasticsearch-leaking-memory-beyond-max-heap-memory/181829/1 "2019-05-20T13:34:50Z")

</div>

Hi,

I am facing issue of elasticsearch leaking memory beyond what is heap memory given... for e.g I have server with 32GB memory and heap memory given is 20GB. But after some time It goes beyong 20GB and server reaches to 96% memory usage. So please help me.

---

<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 20, 2019, 1:37pm UTC](https://discuss.elastic.co/t/elasticsearch-leaking-memory-beyond-max-heap-memory/181829/2 "2019-05-20T13:37:18Z")

</div>

Elasticsearch uses what you assign to heap, anything else is the OS caching files that Elasticsearch is using.

---

<div class="post-metadata">

**Author:** ![amitmjadav](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@amitmjadav](https://discuss.elastic.co/u/amitmjadav)\
**Post date:** [May 20, 2019, 1:45pm UTC](https://discuss.elastic.co/t/elasticsearch-leaking-memory-beyond-max-heap-memory/181829/3 "2019-05-20T13:45:09Z")

</div>

I am having 5 node cluster and on all node same memory configuration has been done but i am facing on single node this issue.. When I troubleshooted it shows me In resource monitor It shows huge difference between Commited memory (i.e near to what i have given 20gb) and Working set memory it is showing around 30GB. And Its not on other node.... So please suggest me what can i do here ??

---

<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 17, 2019, 1:45pm UTC](https://discuss.elastic.co/t/elasticsearch-leaking-memory-beyond-max-heap-memory/181829/4 "2019-06-17T13:45:14Z")

</div>

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