From: Claes W. <kl...@ta...> - 2008-09-23 14:39:44
|
Stephen Han wrote: > > I do see binary is using up that much. > > While try to debug this, I just ran the command [ erlang:port_info(X) || > X <- erlang:ports() ]. > > I do see almost 1100+ 'undefined' entries shows up. Is this normal? No, not that I know of. Yaws opens a lot of ports though, each file:open(F, [raw]) becomes one port. You need to debug this more - it can be anything. You need to use process_info(P, memory) to figure out which process are using the memory. Once you know that, you can do process_info(P, stack_trace) on them to see where they are in the code. /klacke |