Skip to content

Simple Windows Program to Continuously Clean Memory using Windows API

License

Notifications You must be signed in to change notification settings

lcsig/RAM-Cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RAM Cleaner ...

A program to optimize your system's performance, and clears the RAM of every process. Configured to initiate with Windows startup, it ensures continuous RAM cleaning at specified intervals you determine.

Technical Details

This project makes use of the SetProcessWorkingSetSize Windows API, which when invoked with (hProcess, -1, -1), minimizes the target process's working set size by deleting the greatest number of memory pages. The idea at the heart of this project is this API call.

BOOL SetProcessWorkingSetSize(
  HANDLE hProcess,
  SIZE_T dwMinimumWorkingSetSize,
  SIZE_T dwMaximumWorkingSetSize
);

How to Install

It is pretty simple, from the release page, download the exe attached file and run it.