Repository navigation
Running out of memory when installing deps #3093
Unanswered
activecollection
asked this question in
Q&A
Replies: 2 comments 2 replies
|
Not really. Compilation is a memory intensive process and, depending on what you are compiling, it will use GBs, especially if it has native dependencies in C and Rust. If you are using Docker to build apps, you can use a build image to warm up the apps by installing their dependencies, so you use less memory at runtime, but if you are just using Livebook as a playground, then there aren't any options at the moment. What are your dependencies and how many cores have you listed in your container? |
0 replies
|
4 cores I'm trying to install httpoison. The log I get from dmesg: |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using Livebook v0.17.3 in a docker container with available 4 GB of memory. When installing dependencies, the process is getting killed by the system. Is there any way of limiting the needed memory, the number of parallel processes during Mix.install?
All reactions