Page 1 of 1

Display memory usage

Posted: Tue May 13, 2008 2:21 pm
by avitz
How can i see, using the profiler, the total amount of memory that my application consume?

Posted: Wed May 14, 2008 1:08 pm
by Andreas Suurkuusk
The total memory usage of the application is presented under the Native memory page. This page contains two parts: the Physical memory view and the Committed memory view. Committed memory is memory for which storage (in physical memory or on disk) has been allocated and can be interpreted as a measurement of how much memory an application consumes. However, a lot of this memory is shared between processes, and some memory will never actually be used by the application (for instance memory used by uncalled code in loaded libraries).

Physical memory is the part of the committed memory that has been mapped to physical memory in the computer. This memory view provides a more suitable measurement of the application memory usage, since it only includes memory that is actually used by the application. The private physical memory represents the working set memory of the application, but this working set will be affected by the profiler itself. To get a more "true" working set, view the native memory of a non-profiled process.

For more information, see the documentation about the Native Memory Page.