Who is most garbage collected?
Alexander Petrovsky
askjuise@REDACTED
Wed Oct 13 20:35:19 CEST 2021
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
More information about the erlang-questions
mailing list