News for hackers. Stuff that matters.
Re:Hunting down a C memory leak in a Go program by mmoll on Saturday October 16, 2021 @02:59AM (#28886087)
I suspect valgrind‘s massif would have helped (massifly). It shows memory usage over time, but also where what fraction of memory was allocated.
Re:Hunting down a C memory leak in a Go program by eska on Saturday October 16, 2021 @02:51PM (#28890356)
My thought as well. I was able to fix a years old memory leak at a prior company using massif within an hour. It’s a really great suite of tools!