# Out of RAM memory

**URL:** https://community.graylog.org/t/out-of-ram-memory/23088
**Category:** Graylog Central (peer support)
**Created:** [March 18, 2022, 7:35am UTC](https://community.graylog.org/t/out-of-ram-memory/23088 "2022-03-18T07:35:03Z")
**Posts on this page:** 10
**Page:** 3

<div class="post-metadata">

### Author: ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)
#### Post date: [April 21, 2022, 4:19am UTC](https://community.graylog.org/t/out-of-ram-memory/23088/41 "2022-04-21T04:19:47Z")

</div>

Did you add up all the RAM that was given to Elasticsearch/Graylog.  
Looks like you have 9GB RAM on that node.

So if you have 2Gb of heap for Graylog, 4Gb of Heap for elasticsearch that would leave 3 Gb for the system. Is this correct?

EDIT: I just realized, This node only has Graylog/MongoDb.

---

<div class="post-metadata">

### Author: ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)
#### Post date: [April 21, 2022, 4:24am UTC](https://community.graylog.org/t/out-of-ram-memory/23088/42 "2022-04-21T04:24:40Z")

</div>

> [@Uporaba](#):
>
> the web interface has become very slow to load 😑 maybe it’s because of the work of mongodb?

It might be, not sure. I assume this is new node? and what are you ingest rate for messages?  
It took a minute , I see now. You gave Graylog 4 Gb of heap and it look like its using 7 and perhaps 2 left for the system.

Out of curiosity , if you add let’s say 4 more GB of RAM does it still increase past 7 GB mark?

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [April 21, 2022, 9:44am UTC](https://community.graylog.org/t/out-of-ram-memory/23088/43 "2022-04-21T09:44:10Z")

</div>

I noticed a pattern that when I turn off the old mongo cluster (which I combined with the new one), lags begin. If there are less than 3 mongo servers, then it starts to slow down.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/5/5e9fc475ad192f00b9408eff2c164a4b47e4ff28.png)  
now I have increased resources

---

<div class="post-metadata">

### Author: ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)
#### Post date: [April 22, 2022, 12:51am UTC](https://community.graylog.org/t/out-of-ram-memory/23088/44 "2022-04-22T00:51:43Z")

</div>

Hello,

> [@Uporaba](#):
>
> If there are less than 3 mongo servers, then it starts to slow down.

This does make sense, thou. Specially for the amount of logs you ingesting.

> [@Uporaba](#):
>
> now I have increased resources

Looks like Graylog is using 6 GB out of 10.  
Is it still increasing? or is it staying around 6 GB give or take 1 GB?

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [April 22, 2022, 8:16am UTC](https://community.graylog.org/t/out-of-ram-memory/23088/45 "2022-04-22T08:16:26Z")

</div>

now it costs 60 GB ± 1

---

<div class="post-metadata">

### Author: ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)
#### Post date: [April 28, 2022, 4:45am UTC](https://community.graylog.org/t/out-of-ram-memory/23088/46 "2022-04-28T04:45:29Z")

</div>

Anything new going on @Uporaba ?

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [April 28, 2022, 8:31am UTC](https://community.graylog.org/t/out-of-ram-memory/23088/47 "2022-04-28T08:31:35Z")

</div>

Hello. Nothing new. After making graylog with mongo separately. it seems that the RAM has stopped filling up and is kept around 60 ± 10% of 10 GB. So basically I think we won.

---

<div class="post-metadata">

### Author: ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)
#### Post date: [April 28, 2022, 9:50pm UTC](https://community.graylog.org/t/out-of-ram-memory/23088/48 "2022-04-28T21:50:14Z")

</div>

> [@Uporaba](#):
>
> Hello. Nothing new. After making graylog with mongo separately. it seems that the RAM has stopped filling up and is kept around 60 ± 10% of 10 GB. So basically I think we won

![awesome-yes-will-ferrell](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/1/13ed627fac3bc780ddbffa87fd1b35ad269dd35b.gif)

---

<div class="post-metadata">

### Author: ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)
#### Post date: [May 10, 2022, 3:18am UTC](https://community.graylog.org/t/out-of-ram-memory/23088/49 "2022-05-10T03:18:01Z")

</div>

@Uporaba

If the issue is gone could you mark this as resolved for future search’s.

Thanks

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)
#### Post date: [May 24, 2022, 3:18am UTC](https://community.graylog.org/t/out-of-ram-memory/23088/50 "2022-05-24T03:18:48Z")

</div>

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

[Previous page](https://community.graylog.org/t/out-of-ram-memory/23088.md?page=2)
