A simple Windows utility to free up memory by clearing the system's file cache and temporary files. This can be useful on systems with limited RAM or before running memory-intensive applications.

This application performs two main actions to help optimize system memory:
- Clears the System File Cache: It instructs Windows to flush the standby list, which is memory used to cache files from the disk. This makes that memory immediately available for applications.
- Deletes Temporary Files: It cleans out the contents of the system (
C:\Windows\Temp) and user (%TEMP%) temporary folders.
The application provides a simple interface that shows the size of the system cache before and after the cleaning operation, so you can see its effect.
Prerequisites:
- A Windows operating system (Windows 10 or 11 recommended).
- .NET 8.0 Desktop Runtime (or a later version).
Installation:
- Go to the Releases page on the right.
- Download the latest
RamCacheCleaner.exefile. - Run the executable.
If you want to build the application yourself:
Prerequisites:
- A Windows operating system.
- .NET 8.0 SDK (or a later version).
Build Steps:
- Clone this repository:
git clone https://github.com/YOUR_USERNAME/RamCacheCleaner.git - Navigate to the
RamCacheCleanerdirectory in a terminal. - Run the build command:
dotnet build -c Release
- The executable will be available at
RamCacheCleaner/bin/Release/net8.0-windows/RamCacheCleaner.exe.
This tool interacts with low-level system functions. While it uses standard Windows APIs, use it at your own risk. It is intended as an interim solution for performance issues on memory-constrained systems.