Memory
Cheat sheet · https://pcornel.dk/topic.php?topic=3143
Answer
Memory monitoring on Windows tracks Available MBytes, committed bytes against the commit limit, pages per second and hard faults, and per-process working sets to see if RAM is exhausted or leaking.
Remember
- Committed bytes near the commit limit causes failures.
- Hard faults show paging to disk.
- A growing working set or private bytes suggests a leak.
First checks
Get-Counter '\Processor(_Total)\% Processor Time' -SampleInterval 2 -MaxSamples 5— CPUGet-Counter '\Memory\Available MBytes','\Memory\Pages/sec'— memoryGet-Counter '\PhysicalDisk(*)\Avg. Disk sec/Transfer','\PhysicalDisk(*)\Current Disk Queue Length'— disk latency/queueGet-Counter '\Network Interface(*)\Bytes Total/sec'— networkresmon— Resource Monitor
Verify in this order
processes commit memory → working sets → paging
Where it usually breaks
First mismatch in definition/configuration → security context → service/task/process creation → runtime state → output/side effect → event/performance evidence; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3143