Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Monitoring the memory footprint of an application?

Status
Not open for further replies.

VBDotNetProgrammer

Programmer
Jul 9, 2003
50
0
0
GB
Hiya,

Im writing an application which is intended for the embedded market and as a result have quite severe memory constraint with which to consider.

Does anyone know the best way to monitor the memory usage of the application accurately.

Other than looking at the windows task manager which is very crude :)

Thanks
 
There used to be some tool in the older versions of windows dev studio that might help. Going from memory, it was named heapwalker after Luke Skywalker if Jedi knight fame. It seems the tool allowed the user to do a variety of neat things with memory including observing it's allocation. Don't know if it just looked at the heap or stack or data or text or any combination of any of the above. There might be some good freeware for doing this sort of thing available at the sourceforge website. The stuff I have obtained there has been commercial quality or close to it, except for having less bugs:) That last line's a joke.

Here's the site:
hope this helps,
franklane
 
See also MSDN for PSAPI functions: GetProcessMemoryInfo et al...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top