How to find out where my memory is going

Posted by the_mandrill on Stack Overflow See other posts from Stack Overflow or by the_mandrill
Published on 2010-06-01T08:41:21Z Indexed on 2010/06/01 8:43 UTC
Read the original article Hit count: 134

I've got the situation where the cycle of loading and then closing a document eats up a few Mb of RAM. This memory isn't being leaked as something owns it and cleans it up when the app exits (Visual Leak Detector and the Mac Leaks tool show agreement on this). However, I'd like to find out where it's going. I'm assuming it's some sort of cache in the application that gets populated when the document loads but not freed when the document is closed. Which methods or tools could I use to find out where these allocations are being made?

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual-studio