Skip to content
Opensource internals
  • Posts

Virtual memory

Go's Page Allocator: Virtual Memory, Holes and the Scavenger

Oct 21, 2026 21 min read Jay Hubbert

Go’s page allocator tracks free 8 KiB pages in a bitmap sharded into 4 MiB chunks, summarises them in a five-level radix tree, and returns memory to the OS with madvise while a …

GoInternalsMemoryVirtual memoryPerformance

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·