net_kernel garbage collection

Erickson, John john.erickson@REDACTED
Wed Sep 23 22:40:23 CEST 2009


Hello, I have a program that often has several gb of garbage under a process which was started from net_kernel:spawn_func and usually runs erlang:bif_return_trap.  If I manually run garbage collection on this process, it will free this memory, but I was wondering if there is anyway to reduce the amount of garbage that is generated or periodically run garbage collection automatically.

John


More information about the erlang-questions mailing list