|
From: Jason W. <jas...@bl...> - 2004-01-13 18:54:06
|
Hi, I am trying to track down a memory leak in an application. The memory leak is proving difficult to track down - valgrind's memleak check does not pick it up, which suggests to me that the memory is being cleaned up at exit, but is not being managed correctly while the app is running. Does anyone know of a way to take a memory "snapshot" - something like a list of all memory currently allocated, grouped by the file line number of where it was allocated, and sorted by the amount of memory that is allocated. I feel that such a thing would let me solve this issue very quickly :-) Cheers, Jason -- Jason Wood Homepage : www.uchian.pwp.blueyonder.co.uk |