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

Robert Raschke <>
Fri Apr 12 17:04:11 CEST 2013


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130412/56ba86e9/attachment.html>


More information about the erlang-questions mailing list