Each lightweight Erlang/Elixir process on the BEAM VM operates with its own isolated heap and dedicated garbage collector. This design eliminates the need to synchronize millions of processes during GC, enabling independent and parallel memory collection.