[erlang-questions] Erlang 18.0, hanging erlang:memory(total)?
Thu Jul 2 14:23:01 CEST 2015
On Thu, Jul 2, 2015 at 12:29 AM, Nico Kruber <nico.kruber@REDACTED> wrote:
> Hi folks,
> is it possible that erlang:memory/1 can hang?
> Today I had a unit test failing in the middle of its execution (it runs the
> same test over and over again and it was like the 20th time it was run). There
> was a timeout (>50s) in one process not being able to finish its message
> handling and erlang:process_info(Pid, current_stacktrace) is repeatedly
> showing the following stacktrace during these 50s:
> The line in the dht_node_state module literally only calls
> erlang:memory(total) and creates a record with this info. Apparently, it never
> gets out of erlang:memory/1 :(
> Thanks for your help
> erlang-questions mailing list
The bug fixed in OTP-18.0.1 (and OTP-18.104.22.168) can cause such a hang.
Rickard Green, Erlang/OTP, Ericsson AB
More information about the erlang-questions