The Secret to Micro-Sized Processes: Per-Process Heaps

BEAM processes achieve their minimal memory footprint by utilizing isolated, dynamically growing heaps and independent, generational garbage collection for each process, effectively eliminating shared memory overhead and complex global synchronization.

Sources

Open the full topic