v1.1.0 — Latest Release

Keep Your Windows RAM
Actually Free

Windows silently fills RAM with cached standby data — even when idle. RAMKeeper purges it instantly. 163 KB. No bloat. No ads. Just clean RAM.

⬇  Download for Windows ⭐  Star on GitHub
📦163 KBbinary size
🔒Zeroruntime deps
< 1sclean time
🪟Win 7+compatible

Everything you need.
Nothing you don't.

🧹

Standby List Purge

Calls NtSetSystemInformation directly to flush the kernel standby and modified memory lists — something Task Manager simply cannot do.

🕒

Auto-Clean Triggers

Clean automatically when RAM crosses a threshold %, on a fixed interval, when the user is idle, or once after boot — all configurable via a plain INI file.

⌨️

Global Hotkey

Press Ctrl+Alt+R anywhere to trigger an instant clean — no window to bring up, no clicks needed.

⚙️

Settings Dialog

Right-click tray → Settings to configure threshold, interval, idle timeout, boot delay, silent mode, and autostart — all in a clean native Win32 dialog. Saves instantly to config.ini.

🔕

Silent Tray Mode

Runs as a message-only window with a system tray icon. No taskbar button. Zero visual noise. Optional balloon notifications you can silence in config.

📦

Single Portable EXE

163 KB static binary. No installer. No Visual C++ Redistributable. No .NET. Drop it anywhere and run. Copy to a USB drive and carry it everywhere.

🛡️

Open Source & Signed

Full C++ Win32 source on GitHub. MIT licensed. Code-signed binary to avoid Defender false positives. Audit every line yourself.

📊

Status Window

Click the tray icon for a dark-mode popup: color-coded RAM %, 5-minute sparkline graph, last 5 clean events, and an admin/limited-mode badge. Win11 rounded corners + dark title bar.

🚫

Process Exclusion & Schedule

Exclude specific exe names (games, VMs) from working-set trim. Set a daily scheduled clean at any hour:minute. All configurable in Settings.

Four kernel calls.
Serious results.

1

Trim Working Sets

Iterates all running processes via EnumProcesses, opens each with PROCESS_SET_QUOTA, calls EmptyWorkingSet. Moves private pages to the standby list — works without admin.

2

Flush Modified List

NtSetSystemInformation(80, MemoryFlushModifiedList) — writes dirty modified pages to the page file, moving them to standby. Requires admin.

3

Purge Standby List

NtSetSystemInformation(80, MemoryPurgeStandbyList) — the main event. Evicts all standby pages, immediately freeing them as available RAM. Admin required.

4

Reset File Cache

SetSystemFileCacheSize(-1, -1, 0) resets Windows' file system cache size limits, releasing cached file data back to the free pool.

┌─────────────────────────────────────────┐ │ RAMKeeper.exe (163 KB, static) │ ├─────────────────────────────────────────┤┌─ Tray Icon (Shell_NotifyIcon) │ │ │ ├─ "Clean Now" │ │ │ ├─ "Auto-clean: ON/OFF" │ │ │ └─ "Exit" │ │ │ │ │ ├─ Background Timer (1s tick) │ │ │ ├─ Poll RAM (GlobalMemoryStatusEx) │ │ │ ├─ usage > threshold? → Clean() │ │ │ └─ Update tooltip "8.3/16 GB" │ │ │ │ │ ├─ Clean() routine │ │ │ 1. EmptyWorkingSet × all PIDs │ │ │ 2. NtSetSystemInfo(FlushModified) │ │ │ 3. NtSetSystemInfo(PurgeStandby) │ │ │ 4. SetSystemFileCacheSize(-1,-1,0) │ │ │ │ │ ├─ Hotkey: Ctrl+Alt+R → Clean Now │ │ └─ Config: %APPDATA%\RAMKeeper\cfg.ini └─────────────────────────────────────────┘

Up and running
in 30 seconds.

PowerShell
# 1. Download ZIP (avoids SmartScreen block)
PS> Invoke-WebRequest https://github.com/ashishpatel26/RAMKeeper/releases/latest/download/RAMKeeper.zip -OutFile RAMKeeper.zip
PS> Expand-Archive RAMKeeper.zip -DestinationPath . -Force

# 2. Unblock (removes Mark of the Web)
PS> Unblock-File .\RAMKeeper.exe

# 3. Run as Administrator (required for standby purge)
PS> Start-Process RAMKeeper.exe -Verb RunAs

✓ Tray icon appears in system tray. Right-click for menu.

Or just download the EXE directly, right-click → Run as administrator.

Task Scheduler (no UAC at every boot)
# Create a scheduled task to run at logon with highest privileges
PS> $action = New-ScheduledTaskAction -Execute "C:\Tools\RAMKeeper.exe"
PS> $trigger = New-ScheduledTaskTrigger -AtLogOn
PS> $settings = New-ScheduledTaskSettingsSet -RunOnlyIfNetworkAvailable:$false
PS> Register-ScheduledTask -TaskName "RAMKeeper" -Action $action `
-Trigger $trigger -Settings $settings `
-RunLevel Highest -Force

✓ RAMKeeper launches elevated at every login — no UAC prompt.
Developer Command Prompt for VS 2022
# Prerequisites
PS> winget install Microsoft.VisualStudio.2022.BuildTools Kitware.CMake Ninja-build.Ninja

# Clone and build
> git clone https://github.com/ashishpatel26/RAMKeeper.git && cd RAMKeeper
> cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
> cmake --build build --config Release

✓ build\RAMKeeper.exe — 163 KB, zero external deps
✓ dumpbin /dependents: KERNEL32 USER32 SHELL32 ADVAPI32 only

Plain INI.
No registry maze.

%APPDATA%\RAMKeeper\config.ini

Created automatically on first run with safe defaults. Edit with any text editor — changes apply at next timer tick (within 1 second). No restart needed.

threshold_percent Trigger auto-clean when RAM usage exceeds this %. Default: 80
interval_minutes Force clean every N minutes regardless of usage. 0 = disabled. Default: 30
on_idle_minutes Clean if no keyboard/mouse input for N minutes. 0 = disabled. Default: 5
on_boot_delay One-time clean N seconds after launch. 0 = disabled. Default: 60
silent_mode Suppress balloon notifications. 0 = show, 1 = silent
start_with_windows Add to registry Run key. 0 = no, 1 = yes
exclude_list Comma-sep exe names to skip from WS trim (e.g. game.exe, vm.exe). New in v1.1.0
clean_hour / clean_minute Daily scheduled clean. Hour 0–23 (−1 = off), minute 0–59. Default: disabled. New in v1.1.0
notify_min_mb Min freed MB to show balloon notification. Default: 10. New in v1.1.0
config.ini
[Clean]
; Auto-clean when RAM use exceeds 80%
threshold_percent = 80

; Force clean every 30 minutes
interval_minutes  = 30

; Clean when idle 5+ minutes
on_idle_minutes   = 5

; Clean once 60s after launch
on_boot_delay     = 60

; Show balloon notifications
silent_mode       = 0

; Enable auto-cleaning
auto_clean        = 1

[App]
; Launch at Windows startup
start_with_windows = 0

The lightest tool
that actually works.

Tool Binary Size Standby Purge Auto-clean No Ads Open Source Hotkey
RAMKeeper ✦ 163 KB
Wise Memory Optimizer 50 MB
Mem Reduct 1.5 MB ~
RAMMap (Sysinternals) 2 MB
Task Manager OS built-in

Ready to reclaim
your RAM?

Free, open source, and takes 30 seconds to set up.

C++ Win32 163 KB binary MIT License Windows 7+
⬇  Download ZIP (recommended) ⬇  Direct EXE ⭐  View Source

⚠ Windows SmartScreen Warning

Code signing via SignPath Foundation is in progress. Until approved, Windows SmartScreen may flag the download.
Recommended: Download the ZIP, extract, right-click RAMKeeper.exeProperties → check Unblock → OK → Run as Administrator.
Or in PowerShell: Unblock-File .\RAMKeeper.exe