# Julia execution inside a container with restricted RAM

**URL:** <https://discourse.julialang.org/t/julia-execution-inside-a-container-with-restricted-ram/81173>\
**Category:** Tooling\
**Tags:** docker, garbage-collection, kubernetes\
**Created:** [May 16, 2022, 10:20pm UTC](https://discourse.julialang.org/t/julia-execution-inside-a-container-with-restricted-ram/81173 "2022-05-16T22:20:46Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![marius311](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marius311/32/3953_2.png) [@marius311](https://discourse.julialang.org/u/marius311)\
**Post date:** [May 17, 2022, 12:39am UTC](https://discourse.julialang.org/t/julia-execution-inside-a-container-with-restricted-ram/81173/7 "2022-05-17T00:39:13Z")

</div>

+1 for something like this. I asked about this here as well: [https://discourse.julialang.org/t/is-there-a-way-cap-memory-usage-to-keep-mybinder-from-crashing](https://discourse.julialang.org/t/is-there-a-way-cap-memory-usage-to-keep-mybinder-from-crashing)

Fwiw, I found that using package compiler helped reduce the memory footprint when loading packages.

---

_[View the full topic](https://discourse.julialang.org/t/julia-execution-inside-a-container-with-restricted-ram/81173)._
