← Back to feed

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.

Source: peng.fyi


Auto-generated summary for reference only. RSS