Running out of memory when installing deps #3093
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? |
Beta Was this translation helpful? Give feedback.
-
|
4 cores I'm trying to install httpoison. The log I get from dmesg: |
Beta Was this translation helpful? Give feedback.
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?
Beta Was this translation helpful? Give feedback.
All reactions