[erlang-questions] Memory Leak

Torben Hoffmann torben.lehoff@REDACTED
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
number-I-cannot-remember-right-now processes.

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,
> Andrew
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090526/d6f32506/attachment.htm>

More information about the erlang-questions mailing list