# Heap size doesn't go back to normal after loading

**URL:** <https://discuss.elastic.co/t/heap-size-doesnt-go-back-to-normal-after-loading/21740>\
**Category:** Elasticsearch\
**Created:** [January 21, 2015, 12:00am UTC](https://discuss.elastic.co/t/heap-size-doesnt-go-back-to-normal-after-loading/21740 "2015-01-21T00:00:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oreno](https://avatars.discourse-cdn.com/v4/letter/o/b4bc9f/32.png) [@oreno](https://discuss.elastic.co/u/oreno)\
**Post date:** [January 21, 2015, 12:00am UTC](https://discuss.elastic.co/t/heap-size-doesnt-go-back-to-normal-after-loading/21740/1 "2015-01-21T00:00:15Z")

</div>

Hello,  
I'm loading 200G of data to a 2 node cluster with 15G of heap size on each node.  
After loading has finished I notice that the heap usage stays on 10G and executes small size garbage collections.

If I restart the nodes, both go back to 5G usage and status is green.  
My question is why do I have to restart the nodes so the heap size goes back to normal. I would expect it to go back to 5G on its own, because I still need a large heap size free for filter cache and more loading to come..

Anyone knows if this is a configuration issue?

\*using Elasticsearch version: 1.4.1

Thanks in advance

---

<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 6, 2017, 12:37am UTC](https://discuss.elastic.co/t/heap-size-doesnt-go-back-to-normal-after-loading/21740/2 "2017-07-06T00:37:37Z")

</div>

Closed on July 6, 2017, 12:37am UTC


