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

Fredrik Linder <>
Tue Jun 24 13:46:39 CEST 2014


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/d8a0453a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erl_crash.dump
Type: application/octet-stream
Size: 1480284 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140624/d8a0453a/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genq_config_base.erl
Type: application/octet-stream
Size: 1249 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140624/d8a0453a/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genq_config.erl
Type: application/octet-stream
Size: 5612 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140624/d8a0453a/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genq_config_tests.erl
Type: application/octet-stream
Size: 6354 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140624/d8a0453a/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .kerlrc
Type: application/octet-stream
Size: 117 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140624/d8a0453a/attachment-0009.obj>


More information about the erlang-bugs mailing list