# ES heap usage keeps growing

**URL:** <https://discuss.elastic.co/t/es-heap-usage-keeps-growing/72854>\
**Category:** Elasticsearch\
**Created:** [January 26, 2017, 6:41am UTC](https://discuss.elastic.co/t/es-heap-usage-keeps-growing/72854 "2017-01-26T06:41:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brad\_Jungsu\_Heo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brad_jungsu_heo/32/13135_2.png) [@Brad\_Jungsu\_Heo](https://discuss.elastic.co/u/Brad_Jungsu_Heo)\
**Post date:** [January 26, 2017, 6:41am UTC](https://discuss.elastic.co/t/es-heap-usage-keeps-growing/72854/1 "2017-01-26T06:41:47Z")

</div>

Hi. I'm using ES 2.3.2 with jdk1.8.0\_60 and CMS gc. (`ES_HEAP_SIZE`: 20GB)

Heap keeps growing during several days, All I can do is just rolling restarting nodes. I hope someone help me.

 ![1](http://i.imgur.com/okVcMQZ.png)

I'm wondering why heap is not freed after full gc

  
  

`SegmentCoreReader` is the biggest part of heap, but this memory is occupied right after ES started. So, this memory does increase relatively small. (I checked it via `segments` in node stats)

I think `HashMap` is used for query cache and request cache, so this is a fixed area. (I've configured 5% of heap for query cache and request cache)

```auto
indices.queries.cache.size: 5%
indices.requests.cache.size: 5%

```

 ![2](http://i.imgur.com/sZMqDmW.png)

  
  
  
  

Could someone explain what does `Reminder` which uses 5.1GB means?

 ![3](http://i.imgur.com/zoRk4Zo.png)

---

<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:** [February 23, 2017, 6:42am UTC](https://discuss.elastic.co/t/es-heap-usage-keeps-growing/72854/2 "2017-02-23T06:42:02Z")

</div>

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