logoalt Hacker News

zelphirkaltyesterday at 10:00 AM1 replyview on HN

I remember Joe Armstrong saying something like 2kB in his talks, for an Erlang process. That's 1/128 of 256kB.


Replies

my-next-accountyesterday at 6:24 PM

2KiB is a peculiar size. Typical page size is 4KiB, and you probably want to allocate two pages - one for the stack and one for a guard page for stack overflow protection. That means that a fibers' minimal size ought to be 8KiB.

show 1 reply