I'm looking for a tool for memory profiling. I need to get some details about the memory usage of my program. I found that most tools, such as purify, aims at finding the memory errors.
My program is written using ansi C and I'm using MSVC.
Will the GetProcessMemoryInfo API do what you want?
I need more detailed information. For example I need to know how much memory allocated for each object, how much a particular function allocate on the stack..
the CrtDebug Libraries should also help you out. Give that a search in MSVC's help's index.