# Kibana memory usage

**URL:** <https://discuss.elastic.co/t/kibana-memory-usage/28968>\
**Category:** Kibana\
**Created:** [September 9, 2015, 9:15pm UTC](https://discuss.elastic.co/t/kibana-memory-usage/28968 "2015-09-09T21:15:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [September 9, 2015, 9:15pm UTC](https://discuss.elastic.co/t/kibana-memory-usage/28968/1 "2015-09-09T21:15:25Z")

</div>

Hi,

I'm wondering if anyone is monitoring their Kibana Node app?

Check this:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/2/2a5a971be84f363f7e266d18231528e9ee68376a.png)

Is anyone else seeing similar memory/GC patterns? It's obviously problematic and I'm wondering if anyone else is monitoring Kibana and is seeing the same sort of thing?

## Thanks, Otis

Monitoring \* Alerting \* Anomaly Detection \* Centralized Log Management  
Elasticsearch Consulting & Support \* [http://sematext.com/](http://sematext.com/)

---

<div class="post-metadata">

**Author:** ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)\
**Post date:** [September 11, 2015, 10:19pm UTC](https://discuss.elastic.co/t/kibana-memory-usage/28968/2 "2015-09-11T22:19:40Z")

</div>

Which Version?

---

<div class="post-metadata">

**Author:** ![seti321](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seti321/32/611_2.png) [@seti321](https://discuss.elastic.co/u/seti321)\
**Post date:** [September 17, 2015, 1:16pm UTC](https://discuss.elastic.co/t/kibana-memory-usage/28968/3 "2015-09-17T13:16:48Z")

</div>

Hi,

a little update on this issue:  
We use Kibana 4.1.1  
The chart from Otis is using io.js 2.3 - we had the same issue 0.10.35 (growing memory). Then we disabled Node.js monitoring to exclude potential influence of the monitoring function itself and watched daily the RSS using (ps aux|grep kibana) and after 3 days we had again \>580 MB RSS - so the memory growing problem was not gone. Finally we installed a few days ago Node v4.0.0 and charts look much better (util now). The RSS Memory remains on a level of 60-76 MB - :). Still, we see growing GC activity and litle increase in Heap Memory. The EventloopLatency is not growing much - just a little. I will further investigate in the growing number of GC runs.  
Interesting that the time spend for GC was only high in node 0.10, very little in io 2.3, and even lees in Node 4.0. [https://apps.sematext.com/spm-reports/s/fouGUCzwrH](https://apps.sematext.com/spm-reports/s/fouGUCzwrH)

The Last few days running Node 4.0.0:  
.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/8d98fc7ec17885eb5dde73a98c4489903693704a.png)

The last 60 days, see the comments, where we changed the Node.js version:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/7/7e2622eed56647fa86348ca107d58655858d1c44.png)

---

<div class="post-metadata">

**Author:** ![packeteer](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@packeteer](https://discuss.elastic.co/u/packeteer)\
**Post date:** [November 20, 2015, 1:28am UTC](https://discuss.elastic.co/t/kibana-memory-usage/28968/4 "2015-11-20T01:28:44Z")

</div>

we're running Kibana 4.2.1 on a centos 6.7 box. Anyway, we're seeing similar issues with Kibana memory usage ie. it quickly spirals out of control (over 512mb) and is then killed by OOM

Is it possible to limit memory usage?

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [December 9, 2015, 5:37am UTC](https://discuss.elastic.co/t/kibana-memory-usage/28968/5 "2015-12-09T05:37:47Z")

</div>

A bunch of leaks were fixed in 4.3 and backported to 4.2.1 and 4.1.3: [https://github.com/elastic/kibana/pull/5185](https://github.com/elastic/kibana/pull/5185)

---

<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, 2:07pm UTC](https://discuss.elastic.co/t/kibana-memory-usage/28968/6 "2017-07-06T14:07:06Z")

</div>


