# How to get the heap size used by an indices?

**URL:** <https://discuss.elastic.co/t/how-to-get-the-heap-size-used-by-an-indices/275531>\
**Category:** Elasticsearch\
**Created:** [June 10, 2021, 7:55am UTC](https://discuss.elastic.co/t/how-to-get-the-heap-size-used-by-an-indices/275531 "2021-06-10T07:55:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rebug](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rebug/32/117669_2.png) [@rebug](https://discuss.elastic.co/u/rebug)\
**Post date:** [June 10, 2021, 7:55am UTC](https://discuss.elastic.co/t/how-to-get-the-heap-size-used-by-an-indices/275531/1 "2021-06-10T07:55:18Z")

</div>

Hello,

I would like to know is there a possibility to get the heap used by a particular indices in elastic search ?

Thanks 😀

---

<div class="post-metadata">

**Author:** ![theDor](https://avatars.discourse-cdn.com/v4/letter/t/b4bc9f/32.png) [@theDor](https://discuss.elastic.co/u/theDor)\
**Post date:** [June 10, 2021, 6:37pm UTC](https://discuss.elastic.co/t/how-to-get-the-heap-size-used-by-an-indices/275531/2 "2021-06-10T18:37:53Z")

</div>

Try using  
GET /indexName/\_stats

---

<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 8, 2021, 6:38pm UTC](https://discuss.elastic.co/t/how-to-get-the-heap-size-used-by-an-indices/275531/3 "2021-07-08T18:38:37Z")

</div>

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