Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pornel
on March 29, 2024
|
parent
|
context
|
favorite
| on:
Finding memory leaks in Postgres C code
You don't need to wait until program's exit. Valgrind has a GDB server that can be used to check for leaks during program's runtime:
https://valgrind.org/docs/manual/mc-manual.html#mc-manual.mo...
eatonphil
on March 29, 2024
[–]
Thank you! I could have been more explicit that I was aware of this but I was ideally trying to avoid manual code changes and/or manual gdb intervention if possible.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://valgrind.org/docs/manual/mc-manual.html#mc-manual.mo...