void DumpStatistics() const;
Prints, on afxDump, a concise memory statistics report from a CMemoryState object that is filled by the Difference member function. The report shows the following:
CObject blocks still allocated on the heap.
Non-CObject blocks still allocated on the heap.
The maximum memory used by the program at any one time.
The total memory currently used by the program.
For a detailed description of the report, see the Class Libraries User's Guide section “Detecting Memory Leaks,” on page 290.
See the example for the CMemoryState constructor.