# Memory leak like behaviour

**URL:** <https://discuss.elastic.co/t/memory-leak-like-behaviour/10001>\
**Category:** Elasticsearch\
**Created:** [December 9, 2012, 1:59pm UTC](https://discuss.elastic.co/t/memory-leak-like-behaviour/10001 "2012-12-09T13:59:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roman\_Kournjaev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roman_kournjaev/32/2552_2.png) [@Roman\_Kournjaev](https://discuss.elastic.co/u/Roman_Kournjaev)\
**Post date:** [December 9, 2012, 1:59pm UTC](https://discuss.elastic.co/t/memory-leak-like-behaviour/10001/1 "2012-12-09T13:59:58Z")

</div>

Did anyone experience a "memory leak" like behaviour , even in Idle mode.  
It seems that we forgot to bound something and ES is just eating all the  
memory until it dies.

Here is a memory heap size screenshot from graphite :

[https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)This  
is an heap size image from one of the our nodes ( all the other behave the  
exact same way ). The cluster is most of the time in idle mode and does  
not get any traffic. [https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)The  
big downfall near to 12/05 12PM is where it died , so we had to restart it  
again and it started to rise contantly . The somewhere near the end of the  
graph we redirected traffic to the nodes so you see the spikes in the  
memory.[https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)Some  
info on the data that is there.[https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)ES  
version : 0.19.8 [https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)23  
M documents indexed , that take 25GB of data. [https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)12  
shards , 1 replica[https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)Runs  
4 nodes on 4 x 48GB VM's [https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)All  
the nodes behave the same.[https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)  
[https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)Thanks  
for any help[https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)  
[https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)  
Roman[https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG](https://lh6.googleusercontent.com/-U4-ruVTPi28/UMSX0RfgWdI/AAAAAAAALdc/qdpNq0y3x98/s1600/Capture.JPG)

--

---

<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, 3:00am UTC](https://discuss.elastic.co/t/memory-leak-like-behaviour/10001/2 "2017-07-06T03:00:42Z")

</div>


