[erlang-questions] erlang:exit/1 eats lots of CPU time

Maxim Treskin zerthurd@REDACTED
Tue Jan 5 12:14:16 CET 2010


No, theres is no any HugeTerm, just normal reason.

2010/1/5 Björn Gustavsson <bgustavsson@REDACTED>:
> On Tue, Jan 5, 2010 at 7:02 AM, Maxim Treskin <zerthurd@REDACTED> wrote:
>>
>> Erlang node whith this process really eats CPU time, so it is not a
>> some bug of eprof. May be it is due to garbage collection of process
>> data on exit? Increasing of min_heap_size up to value which really
>> used by process has no effect.
>
> There is not supposed to be any garbage collection
> when a process exits.
>
> However, if exit/1 is called as exit(HugeTerm),
> HugeTerm will be copied to all linked processes.
>
> --
> Björn Gustavsson, Erlang/OTP, Ericsson AB
>



-- 
Maxim Treskin


More information about the erlang-questions mailing list