Is there an easy way to monitor memory allocations during a program run (for debugging purposes)?
Ideally, this would be some sort of hook into the memory manager rather than something like gdb because the program runs for hours.
A list of the calling subroutine (or line number) and the amount allocated/deallocated, that would be quite helpful.
I think I can trace most of the memory being allocated manually but I'd like an auditing mechanism to verify.
Thanks!
-Alan
