# Elasticsearch gradually occupy the memory and free it suddenly

**URL:** <https://discuss.elastic.co/t/elasticsearch-gradually-occupy-the-memory-and-free-it-suddenly/45415>\
**Category:** Elasticsearch\
**Created:** [March 25, 2016, 5:54am UTC](https://discuss.elastic.co/t/elasticsearch-gradually-occupy-the-memory-and-free-it-suddenly/45415 "2016-03-25T05:54:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike-CN](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@Mike-CN](https://discuss.elastic.co/u/Mike-CN)\
**Post date:** [March 25, 2016, 5:54am UTC](https://discuss.elastic.co/t/elasticsearch-gradually-occupy-the-memory-and-free-it-suddenly/45415/1 "2016-03-25T05:54:11Z")

</div>

Hi, there I have missed a new issue: elasticsearch occupy and free the memory regularly.  
Just like the image:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/b/b40251a6bd1f5b77470abb2334b69d8f7d72e5b4.png)  
Can anyone tell me the reason? Thanks very much.

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [March 25, 2016, 11:19am UTC](https://discuss.elastic.co/t/elasticsearch-gradually-occupy-the-memory-and-free-it-suddenly/45415/2 "2016-03-25T11:19:45Z")

</div>

That kind of thing is normal. Unless you are seeing problems then I  
wouldn't think about that. JVM heap usage usually saw tooths, raising  
slowly and dropping quickly. I don't know what you are graphing there but  
it looks to raise quickly and drop slowly. Available heap? Some other kind  
of memory?

---

<div class="post-metadata">

**Author:** ![Mike-CN](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@Mike-CN](https://discuss.elastic.co/u/Mike-CN)\
**Post date:** [March 25, 2016, 11:46am UTC](https://discuss.elastic.co/t/elasticsearch-gradually-occupy-the-memory-and-free-it-suddenly/45415/3 "2016-03-25T11:46:28Z")

</div>

Thanks for you reply me. On this machine,I installed only ELK softwares . The graph there shows the available memory on this machine. The green area means the available [memory.So](http://memory.So), it looks to raise slowly and drop quickly. About 22 hours is a cycle.

---

<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 5, 2017, 11:05pm UTC](https://discuss.elastic.co/t/elasticsearch-gradually-occupy-the-memory-and-free-it-suddenly/45415/4 "2017-07-05T23:05:15Z")

</div>


