[erlang-bugs] malloc error: can't allocate region

Fredrik Linder fredrikelinder@REDACTED
Tue Jun 24 14:30:26 CEST 2014


I have 16Gb RAM
10Gb was in use before running the test
At time of crash 11.5Gb was in use (according to Activity Monitor)

/Fredrik
http://whosawesome.com/


On Tue, Jun 24, 2014 at 1:46 PM, Fredrik Linder <fredrikelinder@REDACTED>
wrote:

> Hello
>
> I got a malloc error when running proper tests, thought you wanted to know:
>
> ## system
>
> * R15B03-1 compiled using kerl
> * default kerl compilation flags + see attached.kerlrc
> * OS X 10.9.3, Build 13D65
> * proper git sha: 043f68f2102f366abaa5c5dbf2b55b833d7e90bd
> * rebar git sha: 24ce11c3811424d7ee50d8ce59c00ceb3fc6bb2f
>
> ## output
>
> -*- mode: compilation; default-directory: "~/PLAT-1823/genq/" -*-
> Compilation started at Tue Jun 24 13:21:46
>
> cd ~/PLAT-1823/genq/ && PATH=$HOME/PLAT-1823/rebar:$PATH make check-only
> s=genq_config
> rebar eunit apps=genq suites=genq_config
> ==> genq (eunit)
> Compiled test/genq_config_tests.erl
> .........................................................................beam.smp(10526,0xb022b000)
> malloc: *** mach_vm_map(size=1140850688) failed (error code=3)
> *** error: can't allocate region
> *** set a breakpoint in malloc_error_break to debug
> beam.smp(10526,0xb022b000) malloc: *** mach_vm_map(size=1140850688) failed
> (error code=3)
> *** error: can't allocate region
> *** set a breakpoint in malloc_error_break to debug
> beam.smp(10526,0xb022b000) malloc: *** mach_vm_map(size=1140330496) failed
> (error code=3)
> *** error: can't allocate region
> *** set a breakpoint in malloc_error_break to debug
> beam.smp(10526,0xb022b000) malloc: *** mach_vm_map(size=1140330496) failed
> (error code=3)
> *** error: can't allocate region
> *** set a breakpoint in malloc_error_break to debug
>
> Crash dump was written to: erl_crash.dump
> eheap_alloc: Cannot allocate 1140328500 bytes of memory (of type "heap").
> make: *** [check-only] Abort trap: 6
>
> Compilation exited abnormally with code 2 at Tue Jun 24 13:22:43
>
> /Fredrik
> http://whosawesome.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140624/31063e8c/attachment.htm>


More information about the erlang-bugs mailing list