# Need help with heap analysis

**URL:** <https://discuss.elastic.co/t/need-help-with-heap-analysis/62843>\
**Category:** Elasticsearch\
**Created:** [October 12, 2016, 6:01pm UTC](https://discuss.elastic.co/t/need-help-with-heap-analysis/62843 "2016-10-12T18:01:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![afaraone](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@afaraone](https://discuss.elastic.co/u/afaraone)\
**Post date:** [October 12, 2016, 6:01pm UTC](https://discuss.elastic.co/t/need-help-with-heap-analysis/62843/1 "2016-10-12T18:01:51Z")

</div>

So, i found the [https://www.elastic.co/guide/en/elasticsearch/reference/2.2/cat-nodes.html](https://www.elastic.co/guide/en/elasticsearch/reference/2.2/cat-nodes.html) API for getting the cluster info. I'm trying to create a breakdown of the cluster memory, and so far what i have is:

/\_cat/nodes?h=id%2Cfielddata.memory\_size%2Cquery\_cache.memory\_size%2Crequest\_cache.memory\_size%2Cmerges.total\_size%2Cmerges.current\_size

Which as far as i can tell is accounting for approximately 35% of the node heap usage. The nodes are all running rear 80% heap, so there is 45% of the heap that can;t be accounted for by fielddata, query cache, sements, or translog. The remaining, unaccounted for data is very slowly rising and takingup more and more space, so i'm worried that eventually we we not have any heap left for normal traffic. Are there other fields that I should target in this query (or a related query) that can help me get a full idea of where that heap is being spent?

we're running 2.2, for the record

--Alex

---

<div class="post-metadata">

**Author:** ![afaraone](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@afaraone](https://discuss.elastic.co/u/afaraone)\
**Post date:** [October 18, 2016, 1:40pm UTC](https://discuss.elastic.co/t/need-help-with-heap-analysis/62843/2 "2016-10-18T13:40:16Z")

</div>

Over the past few days the heap has continued to slowly rise on our instance. I'm not sure how to account for the remaining part of the memory that is not covered in any of the other stats. Has anyone evert seen this before?

---

<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:** [July 5, 2017, 10:11pm UTC](https://discuss.elastic.co/t/need-help-with-heap-analysis/62843/3 "2017-07-05T22:11:33Z")

</div>


