[erlang-patches] Patch for 18 exabyte memory allocation failure

Björn Gustavsson <>
Wed Mar 9 14:28:15 CET 2011


On Tue, Mar 8, 2011 at 9:13 PM, Jon Meredith <> wrote:
> Hi list,
> Over the last few months Basho has been seeing intermittent beam crashes
> with extremely large out of memory failures.  A customer just had a cluster
> crash with multiple nodes exiting close to the same time with huge
> allocation requests and we were able to get our hands on the coredumps for
> the first time.
> eheap_alloc: Cannot allocate 18446744071662201696 bytes of memory (of type
> "heap_frag").
> eheap_alloc: Cannot allocate 18446744071662201696 bytes of memory (of type
> "heap_frag").
> eheap_alloc: Cannot allocate 18446744071662201696 bytes of memory (of type
> "heap_frag").

Thanks for the patch. We will include it in our daily builds and most probably
include it in the R14B02 release.

We will address the other problems you mentioned in a future release.
Thanks for pointing them out.

For future submissions, please review the guidelines for submitting patches:

https://github.com/erlang/otp/wiki/Submitting-patches

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list