Gleam ↔ Erlang BEAM GC: Memory Leak Fix and Unresolved Struct Serialization Decision
Gleam compiles to Erlang bytecode, so its long‑running processes are subject to BEAM’s garbage collector. A community‑reported leak in the standard library’s map implementation can cause heap size to grow steadily, even though the code itself never retains explicit references. The proposed fix replaces mutable maps with copy‑on‑write semantics, which has sho