How to Diagnose Memory Pressure and Paging on Windows Server
Applies to: Windows Server 2019, 2022 and 2025.
Memory becomes a performance fault when paging, allocation failures or application trimming affect the workload.
Monitoring should collect enough evidence to diagnose trends without overwhelming storage or exposing sensitive logs. Visit managed Windows VPS hosting.
Prerequisites
- Know installed RAM and baseline.
- Capture during slowdown.
- Separate committed memory from working set.
- Review database cache design.
Procedure
Step 1: Read OS totals
Capture visible and virtual memory.
Get-CimInstance Win32_OperatingSystem | Select TotalVisibleMemorySize,FreePhysicalMemory,TotalVirtualMemorySize,FreeVirtualMemoryStep 2: Sample counters
Measure available memory and paging.
Get-Counter '\Memory\Available MBytes','\Memory\% Committed Bytes In Use','\Memory\Pages/sec' -SampleInterval 2 -MaxSamples 15Step 3: List processes
Sort working set and private bytes.
Get-Process | Sort WorkingSet64 -Descending | Select -First 15 Name,Id,WorkingSet64,PrivateMemorySize64Step 4: Check page file
Review usage.
Get-CimInstance Win32_PageFileUsageStep 5: Correlate workload
Check login, query, backup and antivirus peaks.
Verification
Use sustained trends rather than one sample.
Get-Counter '\Memory\Available MBytes','\Paging File(_Total)\% Usage' -SampleInterval 5 -MaxSamples 12Rollback
Diagnostics are read-only. Do not disable page file or impose limits without vendor guidance.
Operational notes
Low free memory alone does not prove a problem because Windows uses RAM for cache.
Official references
For a hosted environment with setup and onboarding, explore our managed Windows VPS plans.
How to Diagnose High CPU Usage on Windows Server
How to Diagnose High CPU Usage on Windows ServerApplies to: Windows Server 2019, 2022 and 2025.CPU diagnosis identifies the process and…
How to Measure Windows Server Disk Latency and IOPS
How to Measure Windows Server Disk Latency and IOPSApplies to: Windows Server 2019, 2022 and 2025.Disk response time affects databases,…
How to Configure Windows Event Forwarding to a Collector
How to Configure Windows Event Forwarding to a CollectorApplies to: Windows Server 2019, 2022 and 2025.Windows Event Forwarding sends…
How to Configure Windows Service Recovery Actions
How to Configure Windows Service Recovery ActionsApplies to: Windows Server 2019, 2022 and 2025.Service recovery can restart a failed…