Per-Process Memory Isolation: Fault Tolerance & Simplified GC

Each Erlang process within BEAM has its own isolated stack and heap, preventing direct memory sharing and enforcing 'true isolation.' This design ensures that a crash in one process does not affect others, contributing to Erlang's renowned fault tolerance. Additionally, garbage collection is performed per-process, utilizing a generational semi-space copying collector, which simplifies memory management and avoids global pauses.

Sources

Open the full topic