[erlang-bugs] Simple floating-point lists operation hungs Erlang system
Denis Nesterov
copypastor@REDACTED
Sat Nov 26 21:13:03 CET 2011
Thanks a lot for attention.
Yes, this is just an out of memory situation, sorry for spending your time.
Crash dump was finally written in about 10 minutes and weighted 410 MB.
But yes, that was very unclear what erlang system was doing that 10
minutes. While trying to solve this 'mystery' I waited several minutes -
suppose long cleanup operation. But never had enough patience to wait 10
minutes :)
Another question - how can I estimate size of data structures, and know
more about internal erlang data structures?
For example, here:
http://www.erlang.org/doc/efficiency_guide/advanced.htmlstated that
'float' takes 16 or even 24 bytes on 32/64 bit system
respectively. Is that true? I just can't figure out for what reason float
number (double, or even extended precision) can take whole lot of space...
2011/11/26 Björn-Egil Dahlberg <wallentin.dahlberg@REDACTED>
>
>
> 2011/11/26 Erik Søe Sørensen <ess@REDACTED>
>>
>> Still, I think there's a point in that the situation would be less
>> mysterious if the error message about what caused the crash-dump was
>> printed (and flushed) before the crash-dump is written out.
>>
>
> I agree! =)
>
> // Björn-Egil
>
>> ________________________________________
>> From: erlang-bugs-bounces@REDACTED [erlang-bugs-bounces@REDACTED] On
>> Behalf Of Erik Søe Sørensen [ess@REDACTED]
>> Sent: 26 November 2011 03:13
>> To: Denis Nesterov; erlang-bugs@REDACTED
>> Subject: Re: [erlang-bugs] Simple floating-point lists operation hungs
>> Erlang system
>>
>> I can reproduce this on Linux (Intel(R) Core(TM)2 Duo CPU, 2.10GHz, 2GB).
>> This was done using 4 processes and 750k elements; apparent deadlock
>> happened within a couple of minutes (but see below).
>>
>> The OS threads of the Erlang VM are stuck doing this:
>> [snip]
>> _______________________________________________
>> erlang-bugs mailing list
>> erlang-bugs@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-bugs
>>
>
>
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20111127/05bd758a/attachment.htm>
More information about the erlang-bugs
mailing list