# Oddly high RAM usage with Discourse?

**URL:** <https://meta.discourse.org/t/oddly-high-ram-usage-with-discourse/49147>\
**Category:** Product Support\
**Created:** [August 24, 2016, 1:03pm UTC](https://meta.discourse.org/t/oddly-high-ram-usage-with-discourse/49147 "2016-08-24T13:03:30Z")\
**Posts on this page:** 6\
**Page:** 1

## AI-generated summary

The discussion revolves around concerns about Discourse's high RAM usage. [Cosmopath](/t/-/49147/1) initially expresses worry about their server's 1.85GB RAM usage with only 2GB of RAM available, fearing it will max out with increased traffic. [Falco](/t/-/49147/2) reassures that this is normal, citing [http://www.linuxatemyram.com](http://www.linuxatemyram.com), and suggests ensuring 2GB of swap space to prevent issues until an upgrade is needed. [Alankrit_Choudh](/t/-/49147/4) also experiences high RAM usage with a small community and shares a screenshot. [Falco](/t/-/49147/5) responds by putting the RAM usage into perspective, comparing it to that of various devices, and explains that Discourse's features require more resources, emphasizing that the goal is a modern forum on modern hardware, not minimal RAM usage.

<div class="post-metadata">

**Author:** ![Cosmopath](https://avatars.discourse-cdn.com/v4/letter/c/d78d45/32.png) [@Cosmopath](https://meta.discourse.org/u/Cosmopath)\
**Post date:** [August 24, 2016, 1:03pm UTC](https://meta.discourse.org/t/oddly-high-ram-usage-with-discourse/49147/1 "2016-08-24T13:03:30Z")

</div>

Hi, I’m running a virtual private server with Discourse installed through Ubuntu 16.04 LTS. Right now there’s no traffic (there’s probably two or three people on the site right now for beta testing) and the RAM usage for the server is already at 1.85GB. I’m running a server with only 2GB of RAM in it and I fear that when the site actually gets traffic the RAM will completely max out and the server will crash or severely slow down. Is this something to be worried about? I **only** have Discourse and Docker installed.

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [August 24, 2016, 1:31pm UTC](https://meta.discourse.org/t/oddly-high-ram-usage-with-discourse/49147/2 "2016-08-24T13:31:53Z")

</div>

That’s normal.

[http://www.linuxatemyram.com](http://www.linuxatemyram.com)

Make sure you have 2GB of swap, and the forum will be fine until you get more members. When you notice it slowing, you go and upgrade the ram.

---

<div class="post-metadata">

**Author:** ![Cosmopath](https://avatars.discourse-cdn.com/v4/letter/c/d78d45/32.png) [@Cosmopath](https://meta.discourse.org/u/Cosmopath)\
**Post date:** [August 24, 2016, 1:36pm UTC](https://meta.discourse.org/t/oddly-high-ram-usage-with-discourse/49147/3 "2016-08-24T13:36:27Z")

</div>

Got it, thank you very much!

---

<div class="post-metadata">

**Author:** ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)\
**Post date:** [August 24, 2016, 3:31pm UTC](https://meta.discourse.org/t/oddly-high-ram-usage-with-discourse/49147/4 "2016-08-24T15:31:39Z")

</div>

Thanks @Falco I was checking my free ram using the command `free -m`

I am quite surprised that discourse is consuming a high amount of ram even though my community is quite small.

![](https://global.discourse-cdn.com/meta/original/3X/7/0/7075b4e963f76a2637e41f8019e4d1c0ffdb8e31.png)

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [August 24, 2016, 4:00pm UTC](https://meta.discourse.org/t/oddly-high-ram-usage-with-discourse/49147/5 "2016-08-24T16:00:09Z")

</div>

> [@Alankrit\_Choudh](#):
>
> a high amount of ram

Less ram than my phone (Nexus 6p), than my TV player (Nvidia Android Shield), than any device I use? Is that a high amount?

Of course, you can serve static html with way less ram, but the shitload of features of Discourse has to be somewhere. And that is webservices(normal and long polling) , redis, postgresql, nginx, and some gnu/Linux binaries (image Magick, tar, and cia). Not counting an architecture where you can write a enterprise grade plugin in hours.

If the goal of the project was to run with the smallest ram possible, OK. But this isn’t the goal. The goal is a modern forum that runs on modern hardware.

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [June 8, 2024, 12:45pm UTC](https://meta.discourse.org/t/oddly-high-ram-usage-with-discourse/49147/7 "2024-06-08T12:45:18Z")

</div>

Closed on June 8, 2024, 12:45pm UTC

This topic was automatically closed after 2844 days. New replies are no longer allowed.
