BEAM Processes: Orders of Magnitude Lighter than OS Threads

Erlang processes are exceptionally lightweight, typically requiring only 2-3 KB of memory, which allows for millions to run concurrently on a single machine. In contrast, traditional OS threads often demand 1-2 MB of stack space, severely limiting the number of threads a system can support.

Sources

Open the full topic