I\'ve found several answers to this question here on SO, but none that answers my question. I\'m trying to track down some memory leaks in our unmanaged C++ application, and fro
It looks like you want to use GetProcessMemoryInfo. This populates a PROCESS_MEMORY_COUNTERS structure.
The key element of this structure you'll be interested in is
PagefileUsage The Commit Charge value in bytes for this process. Commit Charge is the total amount of memory that the memory manager has committed for a running process.