
7/17/2025 · Nayef Ghattas
What this post added
This post details the investigation and resolution of a memory regression in Go 1.24, specifically related to the Go heap and the `mallocgc` function, which caused increased RSS usage. The investigation involved analyzing system metrics (RSS) versus Go runtime metrics, examining `/proc/[pid]/smaps`, and collaborating with the Go community to pinpoint the root cause. The post also sets up a follow-up on how Go 1.24's Swiss Tables implementation led to memory reductions.