To run a system memory check on Windows, press Ctrl+Shift+Esc, open Performance and select Memory: the graph shows how much RAM is in use and how much is still available. For the same numbers as text, run Get-CimInstance Win32_OperatingSystem in PowerShell and compare FreePhysicalMemory with TotalVisibleMemorySize.
"System memory check" can mean two different jobs: seeing how much RAM your PC has and is using right now, or testing the RAM chips for faults. This article covers the first. The second is a different tool, linked at the end.
Check memory usage in Task Manager
- Press
Ctrl+Shift+Esc. If Task Manager opens in the small view, click More details. - Select Performance, then Memory.
- Read the graph and the figures under it.
To see which program is using the memory, go back to the Processes tab and click the Memory column header to sort the largest users to the top.
What the Task Manager memory figures mean
| Figure | Meaning |
|---|---|
| In use | Memory currently taken by running processes, drivers and the operating system. Microsoft's performance team describes the usage graph on Windows Vista and later as the sum of all processes' private working sets. |
| Available | Per Microsoft, the amount of physical memory currently available for use by the operating system, the drivers and the processes. |
| Cached | Per Microsoft, the sum of the system working set, the standby list and the modified page list. Much of it can be reused when a program asks for memory. |
| Committed | Virtual memory the system has promised to programs, measured against a commit limit (the Get-Counter section below reads both). It is not the same as RAM in use. |
| Paged pool, Non-paged pool | Memory used by the Windows kernel and drivers. Non-paged pool must stay in RAM; paged pool can be moved to disk. |
The practical rule: judge headroom by Available, not by In use. A PC with 16 GB can show a high percentage and still run well if a large part of it is cached data that Windows can drop instantly.
Check installed and free memory with PowerShell
This reads the Windows Management Instrumentation (WMI) operating system class. It needs no administrator rights.
$os = Get-CimInstance Win32_OperatingSystem
$totalGB = [math]::Round($os.TotalVisibleMemorySize / 1MB, 1)
$freeGB = [math]::Round($os.FreePhysicalMemory / 1MB, 1)
"Total: $totalGB GB, free: $freeGB GB, in use: $([math]::Round($totalGB - $freeGB, 1)) GB"
Both properties are in kilobytes according to Microsoft Learn, so dividing by 1MB (1,048,576) gives gigabytes. Example output on a 16 GB laptop (your numbers will differ):
Total: 15.7 GB, free: 6.2 GB, in use: 9.5 GB
Microsoft describes TotalVisibleMemorySize as the physical memory reported to the operating system as available to it, which does not necessarily equal the true amount installed. That is why a "16 GB" machine often shows 15.x GB. To list each installed module, see how to check PC specs on Windows.
Watch memory over time with Get-Counter
A single reading can mislead. Get-Counter samples Windows performance counters, and the Memory counter set includes available bytes, committed bytes and the commit limit.
Get-Counter -Counter "\Memory\Available Bytes", "\Memory\Committed Bytes", "\Memory\Commit Limit" -SampleInterval 5 -MaxSamples 6
This takes six samples, five seconds apart. Values are in bytes. If you add -Continuous instead of -MaxSamples, it samples until you press Ctrl+C. Counter names are localized, so on a Windows installation in another language, list the real names first with (Get-Counter -ListSet Memory).Paths. Some counter sets need PowerShell opened with Run as administrator.
Watch Available Bytes while you do the thing that feels slow. If it falls steadily and never recovers after you close programs, one program is holding on to memory, and the Processes tab in Task Manager will show which.
What the numbers tell you
- Available stays well above zero while the PC is slow. Memory is not the bottleneck. Look at disk and CPU in the same Performance tab.
- Available is near zero and the PC stutters. You are short of RAM. Close the largest programs from the Processes tab, or consider adding memory; how much RAM do I need helps size it.
- One process keeps growing. Restart that program. If it recurs, check for an update to it.
- Total is far below what you installed. A module is probably not seated or not detected. Reseat it and compare the module list with what you fitted.
Testing the RAM itself
None of the above proves the memory chips are healthy. Usage figures cannot detect bad cells. If the PC has random crashes, blue screens or files that corrupt for no reason, run a hardware test: see how to test RAM with Windows Memory Diagnostic. To check what speed the memory runs at, see how to check RAM speed.
Frequently asked questions
- How do I do a quick system memory check on Windows?
- Press Ctrl+Shift+Esc, open the Performance tab and select Memory. The graph and the In use and Available figures show how much RAM is busy right now. For a one-line answer in PowerShell, read TotalVisibleMemorySize and FreePhysicalMemory from Win32_OperatingSystem, both reported in kilobytes.
- Is high memory usage in Task Manager a problem?
- Not by itself. Windows keeps recently used data in cached memory so it can reuse it, and that memory is handed back when a program needs it. Look at Available rather than In use: if Available stays close to zero while the PC is slow, you are short of RAM.
- Does a system memory check tell me if my RAM is faulty?
- No. Task Manager and the counters only show how memory is being used, not whether the chips work. Random crashes, blue screens or corrupted files point to a hardware test such as Windows Memory Diagnostic, covered in a separate article.
- Why is the total smaller than the RAM I installed?
- Microsoft documents TotalVisibleMemorySize as the memory reported to the operating system as available to it, which does not necessarily equal the physical memory installed. Reserved hardware memory, such as for integrated graphics, accounts for a small gap. A gap of half the RAM usually means a module is not detected.