2 ms·
Each Erlang process has its own heap that can be GC'd in parallel, plus a shared global heap.
by cpeterso 11y ago
Each Erlang process has its own heap that can be GC'd in parallel, plus a shared global heap.
- toast0 11y agoJust for future people who see this: the shared binary heap is not garbage collected, it's reference counted. When the process heap is GC'ed any references to the binary heap that didn't survive GC will be removed and refcounts updated. (Also when a process exits, all the binary heap references will be updated)