[erlang-questions] VM leaking memory

Scott Ribe scott_ribe@REDACTED
Thu Jan 31 23:38:06 CET 2019


> On Jan 31, 2019, at 3:26 PM, Frank Muller <frank.muller.erl@REDACTED> wrote:
> 
> The refc binary is the one using most of VM’s memory (in GB) compared to other allocators (few MB).

So, could be the classic leak where you match on a binary and pass a sub-binary to another process? That creates a ref to the original binary, and if the first process is a long-lived one that doesn't gc often, even though the second one finishes, the original binary hangs around...


More information about the erlang-questions mailing list