Mac Intel

Joel Reymont <>
Sat Aug 12 23:54:34 CEST 2006


On Aug 12, 2006, at 10:24 PM, Mikael Pettersson wrote:

> "region"? Assuming it's Erlang being unable to allocate more
> memory, you should run the same test case (big_binary) in BEAM
> to determine if the problem is HiPE-related or not.
>
> (Just c(big_binary) followed by big_binary:test() in the Erlang  
> shell.)

Same result as with HiPE. Trace below. I have 2Gb of physical memory.  
Any tips?

---

Erlang (BEAM) emulator version 5.5 [source] [async-threads:0] [hipe]

Eshell V5.5  (abort with ^G)
1> c(big_binary).
{ok,big_binary}
2> big_binary:test().
beam(28985,0xa000cf60) malloc: *** vm_allocate(size=1074790400)  
failed (error code=3)
      beam(28985,0xa000cf60) malloc: *** error: can't allocate region
                                                                      
beam(28985,0xa000cf60) malloc: *** set a breakpoint in szone_error to  
debug
                                                                beam 
(28985,0xa000cf60) malloc: *** vm_allocate(size=1074790400) failed  
(error code=3)
                                                                      
beam(28985,0xa000cf60) malloc: *** error: can't allocate region
                                                    beam 
(28985,0xa000cf60) malloc: *** set a breakpoint in szone_error to debug
                                               beam(28985,0xa000cf60)  
malloc: *** vm_allocate(size=1073745920) failed (error code=3)
                                                    beam 
(28985,0xa000cf60) malloc: *** error: can't allocate region
                                   beam(28985,0xa000cf60) malloc: ***  
set a breakpoint in szone_error to debug
                              beam(28985,0xa000cf60) malloc: ***  
vm_allocate(size=1073745920) failed (error code=3)
                                   beam(28985,0xa000cf60) malloc: ***  
error: can't allocate region
                  beam(28985,0xa000cf60) malloc: *** set a breakpoint  
in szone_error to debug

Crash dump was written to: erl_crash.dump
temp_alloc: Cannot reallocate 1073741824 bytes of memory (of type  
"estack").
Abort trap

--
http://wagerlabs.com/








More information about the erlang-questions mailing list