# Does close index free up disk or memory

**URL:** <https://discuss.elastic.co/t/does-close-index-free-up-disk-or-memory/258868>\
**Category:** Elasticsearch\
**Created:** [December 16, 2020, 1:27pm UTC](https://discuss.elastic.co/t/does-close-index-free-up-disk-or-memory/258868 "2020-12-16T13:27:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [December 16, 2020, 1:49pm UTC](https://discuss.elastic.co/t/does-close-index-free-up-disk-or-memory/258868/2 "2020-12-16T13:49:51Z")

</div>

> [@divya\_lakshmi](#):
>
> Will closing index using close API help to free heap memory

Technically yes, but the warning in the [6.8 docs](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/indices-open-close.html#indices-open-close) also applies to 6.5: indices should only be closed on a temporary basis.

Also 6.5 is long past the [end of its supported life](https://www.elastic.co/support/eol), you should upgrade as a matter of urgency.

---

_[View the full topic](https://discuss.elastic.co/t/does-close-index-free-up-disk-or-memory/258868)._
