<div dir="ltr"><div><div><div><div>  I have an application (a web server using cowboy and jiffy) that keeps getting killed by the Linux out-of-memory assassin.<br></div>  This is rather unsurprising given that the emulator seems to allocate a factor of 1000 times more memory than it uses.<br></div>  E.g., in the snapshot below, erlang:memory/0 reports memory usage of ~500 Mb, while /proc/self/stat reports ~600 Gb.<br></div>  Digging into the allocator info reveals that the binary_alloc / mbcs_pool allocator has booked 606086.75 Mb, and uses 357.35 Mb. <br></div>  For the brave, I have attached a file full of system data. <br></div>