BEAM's Memory Efficiency for Millions of Processes

Erlang's BEAM VM processes are exceptionally lightweight, consuming only ~2-3 KB each, enabling systems to manage millions of concurrent processes on standard hardware. In contrast, traditional Java threads typically require ~1-2 MB of stack space per thread, limiting concurrent threads to thousands.

Sources

Open the full topic