# Kibana heap size

**URL:** https://discuss.elastic.co/t/kibana-heap-size/219988
**Category:** Kibana
**Created:** [February 19, 2020, 2:41pm UTC](https://discuss.elastic.co/t/kibana-heap-size/219988 "2020-02-19T14:41:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Aleksandra\_Minko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aleksandra_minko/32/45836_2.png) [@Aleksandra\_Minko](https://discuss.elastic.co/u/Aleksandra_Minko)
#### Post date: [February 19, 2020, 2:41pm UTC](https://discuss.elastic.co/t/kibana-heap-size/219988/1 "2020-02-19T14:41:52Z")

</div>

Hi,

How can i increase the heap size memory for Kibana. I'm using the version 7.6.

I tried : **export NODE\_OPTIONS=--max-old-space-size=8000**. It didn't work.

Anyone could help me on this.

Thanks !  
Aleksandra

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [February 19, 2020, 3:04pm UTC](https://discuss.elastic.co/t/kibana-heap-size/219988/2 "2020-02-19T15:04:47Z")

</div>

The docs ([https://www.elastic.co/guide/en/kibana/current/production.html#memory](https://www.elastic.co/guide/en/kibana/current/production.html#memory)) indicate that for deb and rpm installation, you would need to add it to `/etc/default/kibana` instead. Otherwise, what indicates that this setting isn't working?

---

<div class="post-metadata">

### Author: ![Aleksandra\_Minko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aleksandra_minko/32/45836_2.png) [@Aleksandra\_Minko](https://discuss.elastic.co/u/Aleksandra_Minko)
#### Post date: [February 20, 2020, 8:13am UTC](https://discuss.elastic.co/t/kibana-heap-size/219988/3 "2020-02-20T08:13:16Z")

</div>

Hello,

I already did that !

But in kibana's dashboard i can see that i have only 1.4GB of memory.

 ![kibana](https://us1.discourse-cdn.com/elastic/original/3X/f/5/f57785ba5ae9919526f271674c646d2b440c4616.png)

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [February 20, 2020, 2:40pm UTC](https://discuss.elastic.co/t/kibana-heap-size/219988/4 "2020-02-20T14:40:53Z")

</div>

I see, that indicates that the setting is not working for you. Are you sure that you followed the directions at [https://www.elastic.co/guide/en/kibana/current/production.html#memory](https://www.elastic.co/guide/en/kibana/current/production.html#memory) exactly, with no typos?

---

<div class="post-metadata">

### Author: ![Aleksandra\_Minko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aleksandra_minko/32/45836_2.png) [@Aleksandra\_Minko](https://discuss.elastic.co/u/Aleksandra_Minko)
#### Post date: [February 21, 2020, 3:01pm UTC](https://discuss.elastic.co/t/kibana-heap-size/219988/5 "2020-02-21T15:01:18Z")

</div>

Something was wrong with Kibana's acces rights.  
I added the folowing line to the "/etc/default/kibana" file :

**NODE\_OPTIONS="--max-old-space-size=2048"**

And now it's working fine.

Thanks.

---

<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: [March 20, 2020, 3:14pm UTC](https://discuss.elastic.co/t/kibana-heap-size/219988/6 "2020-03-20T15:14:04Z")

</div>

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