[erlang-questions] eheap_alloc: Cannot allocate 1272748 bytes of memory (of type "heap").

Martin Dimitrov <>
Fri Apr 12 17:12:03 CEST 2013


The highest amount of memory per process is 3MB. There are only 10-15 of
them. The rest have lower amount of used memory. Some - few hundred bytes.

The overall usage I see through crashdump_viewer under Memory
Information -> Memory.

Martin

On 4/12/2013 6:04 PM, Robert Raschke wrote:
> Hi Martin,
> 
> not sure I'm reading that correctly, but 2500 * ~2 MB is ~5GB. So I don't
> know how you are measuring 500MB overall usage.
> 
> Robby
>  On Apr 12, 2013 3:38 PM, "Martin Dimitrov" <> wrote:
> 
>> Hello,
>>
>> I perform performance tests on our app and I manage to crash the VM
>> every time with the above message. What bothers me is:
>> 1. the allocation request is low: 1-4 MB
>> 2. the total amount of used memory is also low: 300-500 MB (the test
>> machine has 8GB of RAM)
>> 3. all processes have low consumption of memory (highest 3 MB) but the
>> app creates many(?) of them: about 2 500
>> 4. there is no Running process, one is Garbing and it is started by
>> YAWS. About 100 processes are Scheduled and all the rest are Waiting.
>> This state repeats on every run.
>>
>> The test machine is Windows 8, 4 cores, 8 GB Ram, running Erlang R16B
>> and YAWS 1.6.
>>
>> Thank you very much,
>>
>> Martin
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
> 




More information about the erlang-questions mailing list