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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How does memory get allocated in XP

Status
Not open for further replies.

bulgakov

Programmer
Apr 24, 2003
26
GB
All,
I am interested in monitoring how much memory
my app is using (it looks like it may be leaking
I am using bounds checker to search for the leaks),
but on the live system I can monitor the
physical memory available in the task manager,
but how and when does the app hand back the memory
to the operating system ?

For example if the process grows due to memory being
new'ed, then when it is deleted when does it go back
to the operating system, when the app closes or at
scheduled intervals ?

Any info greatly appreciated.

Marcus
 
according to my book, as soon as the delete statement is executed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top