[erlang-questions] Memory Leak
Tue May 26 21:30:57 CEST 2009
Off the top of my head...
Are you registering the processes with a unique identifier?
If so you will run into a memory leak as those atoms are not garbage
You could also have an issue with the number of processes you spawn - unless
you specify +P <number> you are limited to maximum
What is "pretty quickly" anyway?
On Tue, May 26, 2009 at 3:10 PM, andrew mmc <andrewmmc@REDACTED> wrote:
> 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?
> Thanks for your help,
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions