Joey.Z
Joey.Z

Reputation: 4810

Memory usage: Commit, Working Set, Shareable, Private different with VS2015 Diagnostic Tools

The windows Resource Monitor shows the memory usage of my app (debug running in visual studio) in the following figure:

enter image description here

However, the Diagnostic Tools shows the memory graph like:

enter image description here

The Commit size is

The Amount of virtual memory reserved by the operating system for the process in KB.

Does this mean all memory allocated in my app?

And the Private size in Resource Monitor is much less than it in the Diagnostic Tools, is the Private in the Resource Monitor doesn't count the pages that are swapped out into disk? So the Private + Shareable = Working Set.

Even the Process Memory in the graph is different from the Heap Size in the Diagnostic Tools, apart from Heap Size is there any Stack Size that will be 100M large? enter image description here

Upvotes: 2

Views: 2188

Answers (0)

Related Questions