BEAM Process State: Minimal Data for Ultra-Fast Switches
Erlang processes are exceptionally lightweight, typically using just 2-3 kilobytes of memory for their state, compared to operating system threads that often require 1-2 megabytes, drastically reducing context switch overhead.