# Limiting Discourse memory usage on a dedicaded box

**URL:** <https://meta.discourse.org/t/limiting-discourse-memory-usage-on-a-dedicaded-box/19378>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [28 أغسطس 2014، 8:20ص UTC](https://meta.discourse.org/t/limiting-discourse-memory-usage-on-a-dedicaded-box/19378 "2014-08-28T08:20:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rjd22](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rjd22/32/114685_2.png) [@rjd22](https://meta.discourse.org/u/rjd22)\
**Post date:** [28 أغسطس 2014، 8:20ص UTC](https://meta.discourse.org/t/limiting-discourse-memory-usage-on-a-dedicaded-box/19378/1 "2014-08-28T08:20:33Z")

</div>

I’m hosting a discourse forum on one of my dedicaded server. The problem is that as it is now to can use the full 32GB memory that is on the dedicaded box (this already happened once).

What is the best way to edit the launcher or config file to limit how memory much the docker instance will use?

---

_[View the full topic](https://meta.discourse.org/t/limiting-discourse-memory-usage-on-a-dedicaded-box/19378)._
