Who is most garbage collected?

Alexander Petrovsky <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAH57y_RdsnAUFZ5sg_Q14MzOjhiSq5hMTtaVi8uOD0h82KkG8g@mail.gmail.com>
Hello!

I wonder, what is the best way to find out the "culprit" of GC:

> msacc:start(1000), msacc:print().
        Thread      aux check_io emulator       gc    other     port    sleep
...
 scheduler( 1)    1.68%    1.12%   55.34%    9.05%    3.44%   13.91%   15.45%
 scheduler( 2)    1.53%    1.13%   55.17%    9.94%    4.76%    9.59%   17.88%
 scheduler( 3)    1.64%    1.21%   58.12%   10.88%    3.45%    8.93%   15.78%
 scheduler( 4)    1.61%    1.29%   57.22%   11.80%    3.97%    8.42%   15.69%
...

Using erlang:trace ang catch garbage_collection events? Or
erlang:system_monitor with long_gc or maybe there are better ways?

-- 
Alexander Petrovsky
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.