The GetSnapshot() method of the WindowsSnapshotProvider class currently gets memory usage value using
(ulong)process.WorkingSet64, while the GetMemoryUsageInBytes() method in the same class correctly and more performantly uses Environment.WorkingSet.
Please update GetSnapshot() to use Environment.WorkingSet.
The
GetSnapshot()method of theWindowsSnapshotProviderclass currently gets memory usage value using(ulong)process.WorkingSet64, while theGetMemoryUsageInBytes()method in the same class correctly and more performantly usesEnvironment.WorkingSet.Please update
GetSnapshot()to useEnvironment.WorkingSet.