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

Memory leaks

Status
Not open for further replies.

VISUALMAC

Programmer
Jul 26, 2005
1
US
I want to use CMemoryState (CheckPoint, DumpStatistics, etc.) to detect memory leaks.

However, I don't understand why I get the following output when using DumpStatistics() on a newly created MFC project with no modifications.

Memory leaked
0 bytes in 0 Free Blocks.
290 bytes in 6 Normal Blocks.
6337 bytes in 46 CRT Blocks.
0 bytes in 0 Ignore Blocks.
368 bytes in 5 Client Blocks.
Largest number used: 9544 bytes.
Total allocations: 13552 bytes

Is the template project already leaking? Does anyone have any experience with this? Any help will be appreciated, thanks.

MAC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top