Watching Go's new garbage collector move through the heap | Hacker News
TL;DR AI
2 min readKey summary
Go’s allocator groups same-sized objects into segregated spans, helping reduce fragmentation and improve memory reuse.
This design lets small allocations coexist efficiently without blocking larger ones.
On 64-bit systems, Go also benefits from a flexible virtual memory model.
Even so, pushing memory use to the limit can still hit allocation constraints before absolute exhaustion.
