Clean RAM on Windows

This guide provides a simple and effective method to clear your system's cached memory without closing any running applications. This can help improve system responsiveness, especially after long uptime or memory-intensive tasks.

Downloads

CleanRAM.bat Script

A command-line script that automates the RAM cleaning process. Clicking the link will open a preview page where you can view the code before downloading.

RAMMap Utility

An official utility from Windows Sysinternals used to analyze and clear physical memory usage details.

Instructions

  1. Download Files: Get both the CleanRAM.bat script and the RAMMap utility (usually a .zip file) from the links above. You can inspect the script's code on the provider's website before downloading.
  2. Prepare Folder: Create a new folder anywhere on your computer. Extract the contents of the RAMMap download and place either RAMMap.exe or RAMMap64.exe into this new folder. Then, place the downloaded CleanRAM.bat file in the same folder.
  3. Run as Administrator: Right-click on the CleanRAM.bat file and select "Run as administrator". This is a critical step, as the script needs elevated permissions to clear system memory.
  4. Wait for the Process: A command prompt window will appear and display the cleaning progress. This process is safe and **will not close your running applications**.
  5. Complete: Once finished, the script will display a completion message and the window will close automatically. Your system's cached RAM is now cleared!