Why untouched Go slices can end up in physical memory more often with GOMEMLIMIT
IT·技术 · 2026-12-03 08:36
Setting GOMEMLIMIT in Go can cause untouched slices to unexpectedly increase RSS, as the runtime's memory cleanup writes trigger kernel physical page allocations.