[erlang-questions] why each erlang process sets 233 words as its default heap size?

Pierpaolo Bernardi <>
Thu Sep 20 20:30:07 CEST 2007


On 9/20/07, Jeremy Chow <> wrote:
> Hi all,
>       My first instinction is that it want to club together with one process
> size  to reach exactly 1024 bytes . But each process has more than 1024/4
> -233 = 23 words size .
>       What's the author's original intention? why each erlang process  sets
> 233 words as  its default heap size?

The heap size is a fibonacci number.

<guess>
Maybe 233 is the smallest fibonacci number that allows to do something useful.
</guess>

The sequence is: ... 89 144 233 377 610 ...

P.



More information about the erlang-questions mailing list