Safe default

Do not clear anything until Use Counts identifies the relevant page list. For a controlled cache test, Empty Standby List is the most commonly intended command, but it discards useful cached pages and may increase disk reads. Save work and a snapshot first; never schedule RAMMap clearing as routine optimization.

Check memory pressure before clearing cache

Windows intentionally uses otherwise idle RAM for cache. A large standby or mapped-file number can make future reads faster and is normally reclaimable when applications need memory. Task Manager showing little completely free memory is not enough evidence of a problem.

Open Use Counts and compare Active, Standby, Modified, Free and Zeroed totals. Look for sustained memory pressure, paging, poor responsiveness or a reproducible workload failure. Then identify whether the large value is a page-list state such as Standby or a use category such as Process Private, Mapped File or Nonpaged Pool. These are not interchangeable.

  • Save open work and stop time-sensitive tasks.
  • Refresh RAMMap and save a before snapshot.
  • Write down the exact symptom and workload.
  • Change only one list during the test.
  • Measure whether the symptom improves and whether it returns.

What each RAMMap Empty option does

Command names can vary slightly across releases, but the important distinction is the target. A working-set trim asks processes or the system to release resident pages. A standby-list action discards cached pages waiting for possible reuse. A modified-page action interacts with dirty pages that may require writing. None of these actions adds RAM or fixes the source of repeated allocation.

RAMMap Empty menu decision table
CommandWhat changesWhen it can help a testLikely side effect
Empty Working SetsTrims resident pages from process working setsTesting how an application behaves after its resident pages are removedApplications fault pages back in and may pause or slow
Empty System Working SetTrims parts of the system working setA narrow support or kernel-cache experimentSystem components may perform more I/O afterward
Empty Standby ListDiscards reclaimable standby cacheReproducing a cold-file-read test or confirming standby interactionPreviously cached files must be read again
Empty Priority 0 Standby ListTargets lowest-priority standby pagesA less broad standby experiment when priority zero is relevantStill removes useful cached content
Empty Modified Page ListForces handling of modified pagesSpecialized diagnostics involving modified-page buildupCan trigger storage writes and is not a general cleanup step

How to run a RAMMap clear cache test

If the test specifically requires cold cache, record a baseline first. Open RAMMap as administrator, save a snapshot, select Empty Standby List once and wait for the command to finish. Refresh Use Counts and confirm that the intended list changed. Then run the exact workload and measure time, I/O and responsiveness.

Do not interpret the immediate increase in free or zeroed pages as a lasting performance gain. If the workload needs the same files, Windows will cache them again. Repeatedly emptying standby memory can produce a cycle of extra storage reads and misleadingly low cache numbers.

A useful RAMMap clear cache test compares two defined runs: one with the normal warm cache and one after a documented standby-list clear. Keep the application version, input data, storage device and timing method constant. Repeat the RAMMap clear cache test only after returning the machine to a comparable state. The result can show the value of cached reads, but it should not be presented as proof that clearing improves everyday performance.

  1. Save a before snapshot

    Use File > Save and record the workload state.

  2. Select one command

    Choose Empty Standby List only when standby cache is the subject of the test.

  3. Refresh and confirm

    Verify that the intended page-list total changed; do not clear other lists to make the graph look cleaner.

  4. Repeat the workload

    Measure whether the original symptom changes and whether cache naturally returns.

Editorial diagram categorizing physical memory blocks before a cache decision
Use Counts classification should come before any page-list action.

Why Empty Working Sets can make programs slower

A process working set is the subset of its virtual pages currently resident in physical memory. Trimming it can reduce the resident number quickly, but the underlying allocation or commit may remain. When the process touches those pages again, Windows must resolve faults and bring needed data back into the working set.

Use this command only when the experiment is about working-set residency. It is not a repair for a process that continues allocating memory. If one application's private usage grows under a repeatable action, identify the process and investigate its commit, allocations or workload instead of repeatedly trimming every process.

Important distinction

A smaller working set after trimming does not prove that a memory leak was fixed. It only proves that resident pages were removed at that moment.

Do not automate the RAMMap clear cache workflow

Scheduled standby-list clearing and real-time memory cleaners fight Windows' cache policy. They can hide the time pattern needed for diagnosis, increase storage activity and make benchmarks inconsistent. A system that genuinely runs out of memory needs the allocating process, driver, workload or capacity problem addressed.

For repeatable lab testing, document the command, Windows build, RAMMap version, machine memory and timing. For everyday use, let Windows manage standby cache. Read how to use RAMMap to trace the cause before changing state.

Cases where a RAMMap clear cache test is the wrong fix

Do not clear lists to address nonpaged-pool growth, a driver-locked allocation, application commit exhaustion or an actual hardware shortage. Standby clearing cannot fix those causes. It may temporarily change the headline number while the important category remains.

Do not clear memory immediately before collecting evidence of a recurring issue. Save a snapshot, capture relevant performance counters and identify the responsible category first. If RAMMap shows a high mapped-file total, use File Summary to identify the file. If Process Private is high, use Processes. If a kernel pool grows, move to pool and driver diagnostics.

RAMMap clear cache FAQ

Which RAMMap Empty option should I use?

Use none by default. Choose a command only when a defined diagnostic test targets that exact list. Empty Standby List is appropriate for a cold-cache test, not routine optimization.

Is it safe to empty the standby list?

It normally does not delete files, but it discards useful cached pages and can increase storage reads or cause temporary slowdowns. Save work and use it only for a controlled test.

Does Empty Working Sets free leaked memory?

It trims resident pages but does not necessarily remove the allocation or committed memory behind a leak. The process may fault pages back in immediately.

How often should I clear RAMMap cache?

There is no recommended schedule. Windows normally manages cache automatically, and scheduled clearing can reduce performance.

Why does standby memory return after I clear it?

Windows caches data again as programs and the operating system read files. Returning standby memory is expected and is not proof that RAMMap failed.

INSPECT FIRST

Download RAMMap from Microsoft

Use the current signed v1.63 build for your diagnostic snapshot.

Download RAMMap v1.63
Official Microsoft download opens after a 15-second source check.

Diagnose before clearing