Skip to content

WindowsSnapshotProvider should obtain memory value from Environment.WorkingSet only #5867

@evgenyfedorov2

Description

@evgenyfedorov2

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions