# Is Terms included in the remaining heap after the GC?

**URL:** <https://discuss.elastic.co/t/is-terms-included-in-the-remaining-heap-after-the-gc/140880>\
**Category:** Elasticsearch\
**Created:** [July 20, 2018, 11:18am UTC](https://discuss.elastic.co/t/is-terms-included-in-the-remaining-heap-after-the-gc/140880 "2018-07-20T11:18:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YuWatanabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuwatanabe/32/13259_2.png) [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Post date:** [July 20, 2018, 11:18am UTC](https://discuss.elastic.co/t/is-terms-included-in-the-remaining-heap-after-the-gc/140880/1 "2018-07-20T11:18:01Z")

</div>

Hello.

I would like to ask question about the heap memory.  
I am trying to free up heap memory by closing old indices.

When I look at the chart of heap usage there is always some left overs after each _old gc_ . In below example about _8.0 gb_ is remained after each gc.

 ![gc](https://us1.discourse-cdn.com/elastic/original/3X/1/6/16e89bdc76251be9b40491046e528b9418a3ea82.PNG)

By looking at _Terms_ in _Index memory_ chart , there seems to be no change in the trend event though gc occurs. So I thought _Terms_ remains after each gc therefore I thought I could free more heap memory by closing the index which means I am freeing _Terms_ area of each index.

 ![index_memory](https://us1.discourse-cdn.com/elastic/original/3X/4/a/4a2dd2adc4496cb784ee7867b9ad5888fc15cc13.PNG)

Is _Terms_ one of the area which remains after the GC ?

I appreciate if I could get some help with my question.

Best Regards,  
Yu Watanabe

---

<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:** [August 17, 2018, 11:18am UTC](https://discuss.elastic.co/t/is-terms-included-in-the-remaining-heap-after-the-gc/140880/2 "2018-08-17T11:18:01Z")

</div>

Closed on August 17, 2018, 11:18am UTC

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