# 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 Agosto, 2014 08: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:** 2

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [28 Agosto, 2014 08:59 UTC](https://meta.discourse.org/t/limiting-discourse-memory-usage-on-a-dedicaded-box/19378/2 "2014-08-28T08:59:46Z")

</div>

Docker [allows limiting the memory](http://docs.docker.com/reference/run/#runtime-constraints-on-cpu-and-memory) with the `-m` option.  
However, I don’t think that the launcher can do this out of the box at the moment. You’ll probably need to change it within the `launcher` script.

---

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