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!

Documenting memory usage

Status
Not open for further replies.

elspork

Programmer
Dec 17, 2003
4
0
0
US
I need a way to know how much memory a program is using at any given time in the course of running. I'm just learning about the basic points of memory management and copy constructors and the lot, and I want a way to know when I'm on the right track, and when I have memory leaks.

What is the best route to pursue? Is there a way to do this from within the program and assign a particular variable with the amount of memory being used, or that is available in the heap or the stack?
 
TaskManager will show you how much memory you are using at any given time. Turn on Mem Usage in the processes tab (View->Select Columns)

Matt
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top