EnterpriseDB Blog company blog

Finding memory leaks in Postgres C code

I spent the last week looking for a memory leak in Postgres’s WAL Sender process. I spent a few days getting more acquainted with Valgrind and gcc/clang sanitizers, but ultimately got nowhere useful with them. Finally, I stumbled on the memleak program from the bcc tools collection which led me right to the source…
Points
106
HN comments
19
Submissions
1
Cited by
0 commenters

Databases & DataSoftware Engineering2024

On Hacker News

SubmittedTitle on HNPointsComments
Mar 27, 2024Finding memory leaks in Postgres C code by lichtenberger10619

Related posts from the same era