[erlang-questions] Memory Leak
Tue May 26 23:54:07 CEST 2009
> Hello, all,
> I have a system that involves spawning lots of processes to work on the same
> set of data. Each process reports to one of a number of listener processes
> that collate the results and determines the next bit of work to do. There
> is also a fair amount of inter-process communication. I have found that
> pretty quickly, erlang runs out of memory.
> What is the best way to find out what is going on and what the cause of this
> leak is?
One possible cause would be that one or more processes are getting
messages sent to them that they don't collect. As the message queue
grows so does the heap.
More information about the erlang-questions