# Memory Utilization in ELK

**URL:** <https://discuss.elastic.co/t/memory-utilization-in-elk/240169>\
**Category:** Elasticsearch\
**Created:** [July 7, 2020, 1:32pm UTC](https://discuss.elastic.co/t/memory-utilization-in-elk/240169 "2020-07-07T13:32:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohitarorait82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rohitarorait82/32/82981_2.png) [@rohitarorait82](https://discuss.elastic.co/u/rohitarorait82)\
**Post date:** [July 7, 2020, 1:32pm UTC](https://discuss.elastic.co/t/memory-utilization-in-elk/240169/1 "2020-07-07T13:32:02Z")

</div>

Hi All,

Memory utilization on my all the data\_nodes is reaching around 70-80 percent. Can someone suggest, how to reduce it. As we are afraid that after adding all the instances it might reach even 100%.

Thanks for you help in advance, PFB details

IP Address Total CPU Total Memory CPU Utilization Memory utilization /ELK Total space /ELK Usage  
IP1 8 62 3-6% 15-16% 1T 2.8G  
IP2 8 62 10-15% 70-80% 1T 109G  
IP3 8 62 8-10% 70-80% 1T 101G  
IP4 8 62 5-10% 70-80% 1T 104G  
IP5 8 62 5-10% 70-80% 1T 102G  
IP6 8 62 5-10% 70-80% 1T 108G

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [July 7, 2020, 2:09pm UTC](https://discuss.elastic.co/t/memory-utilization-in-elk/240169/2 "2020-07-07T14:09:36Z")

</div>

What statistic are you using for free memory?

Sample stats from 'atop'

```
MEM | tot 92.9G | free 413.2M | cache 51.0G | dirty 122.2M | buff 279.1M | slab 2.7G | slrec 2.6G | shmem 64.2M | shrss 2.5M | vmbal 0.0M | hptot 0.0M | hpuse 0.0M |
SWP | tot 16.0G | free 13.4G | | | | | | | | | vmcom 40.2G | vmlim 62.4G |

```

This shows free memory of 413M on a 96G system. IMHO, Linux would rather use memory if it can find any beneficial use for memory instead of "freeing" it.

Better stat are JVM heap usage and GC frequency; or other signs of memory stress.

---

<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:** [August 4, 2020, 2:09pm UTC](https://discuss.elastic.co/t/memory-utilization-in-elk/240169/3 "2020-08-04T14:09:37Z")

</div>

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