Reputation: 463
I've been using the various _CRTMem* functions to attempt to locate memory leaks in our code. The application is an unmanaged C++ appplication. Some strange things I've noticed:
We test using Windows 7, but the final destination application will run unders Windows CE. Does WindowsCE have better (or different) memory management?
Can anyone help? Many thanks, Paul
Upvotes: 0
Views: 174
Reputation: 52659
Task Manager used to show you the real numbers, but since Vista (I think) they changed it so it would report a "simplified" report. Which is useless for serious work even if it is sufficient for non-technical users to get an idea of what's going on in their system.
Here's an article that describes some of the changes.
If you want to measure memory, use perfmon, with one of the many memory counters, or the process object's memory counters. these will give you the raw data you want.
Upvotes: 2