The Erlang BEAM virtual machine can efficiently handle millions of concurrent processes on a single machine, a capability famously demonstrated by systems like WhatsApp. In contrast, traditional OS threads are typically limited to thousands due to higher memory and scheduling overheads.