[erlang-questions] erlang:exit/1 eats lots of CPU time
Tue Jan 5 11:23:25 CET 2010
On Tue, Jan 5, 2010 at 7:02 AM, Maxim Treskin <> 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
More information about the erlang-questions