-
Hi!
I don't know if it's a problem with this particular version of the image or version of OS, docker, size of memory, or whatever. On other virtual machines, I have observed sizes 26MB, 28MB, 32MB, and so on. So my question is how can I fix this particular instance and how can I prevent this issue in the future? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @pichi, nice to see you here! I don't think we do anything in particular about allocators: https://github.com/livebook-dev/livebook/blob/main/rel/server/vm.args.eex So it would have to be the Erlang VM somehow inferring that it needs such large blocks? Would you know why that could be? |
Beta Was this translation helpful? Give feedback.
-
Hi, @pichi it's great to see you in such a long time! 🤗 I only looked at the code in play for this dashboard (and related utility modules) briefly, but it looks like it will tally up all the blocks (I could be wrong, just looked like that at a glance). Did you try running |
Beta Was this translation helpful? Give feedback.
Note for @pichi this was bugging me to no end; I did some searching and found where people would OOM in containers on some platforms because the number of file descriptors allowed was very high (specifically related to containers and cgroups). Quoting erl documentation :