[erlang-questions] Increasing maximum number of concurrent processes directly increases memory usage?
Tim Williams
williamstw@REDACTED
Thu Apr 8 21:22:06 CEST 2010
On Thu, Apr 8, 2010 at 3:03 PM, Jeremy Raymond <jeraymond@REDACTED> wrote:
> Hello,
>
> If I startup erlang with no arguments (just run erl) it's memory usage as
> reported by top starts off at around 10 000 bytes. If I start it and
> increase the maximum number of threads (erl +P 134217727) the memory usage
> out of the gate is 1.0 gigabytes. Why is this the case?
I'll hazard a guess and say 8 bytes per pid[1] gives you the nearly a
gig + the environment itself?
--tim
[1] - http://www.erlang.org/doc/efficiency_guide/advanced.html
More information about the erlang-questions
mailing list