WinMemoryOpt is a lightweight Windows system tray utility designed to optimize memory usage on Windows 10 and 11. It runs in the background, continuously monitoring physical memory and reclaiming unused resources using both documented Win32 APIs and undocumented Windows NT system APIs.
Key Features:
System Tray Icon with Live Memory Display: Shows real-time physical memory usage, color-coded by load (Green < 70%, Orange < 85%, Red ≥ 85%) for quick at-a-glance monitoring.
Multi-Mode Optimization: Includes Process Working Set Trimming, Standby Memory List Purging, and Modified Page List Flushing to efficiently reclaim unused memory.
1-Click Focus/Gaming Mode: Automatically compresses background processes and applies Windows 11's EcoQoS Efficiency Mode for enhanced performance during gaming or heavy workloads.
Targeted App Trimmer: Allows users to select and trim individual memory-heavy applications with precision.
Responsive UI Design: Fully adapts to different DPI scaling settings (100%, 125%, 150%) for seamless usability on all monitors.
Target Audience and Benefits:
Ideal for Windows 10/11 users who want improved system performance, enhanced gaming experience, or better resource management. WinMemoryOpt is perfect for power users and gamers looking to optimize memory usage without restarting their computer.
WinMemoryOpt is available via the Windows Package Manager (WinGet). You can install it using winget install Optico.WinMemoryOpt, making deployment quick and easy.
README
Windows Memory Optimizer (WinMemoryOpt)
A lightweight, native C# (.NET Framework 4.8) system tray memory optimization utility for Windows 10 and 11. It runs quietly in the notification area, continuously monitors physical memory, and reclaims memory using both documented Win32 APIs and undocumented Windows NT system APIs.
Features
Native C# Executable (.NET Framework 4.8): Completely rewritten in pure C# WinForms for instant startup, zero dependencies, and native out-of-the-box Windows 10/11 compatibility without needing extra runtimes or PowerShell.
Dynamic System Tray Icon (Premium UI): Displays live physical memory usage directly on the notification area icon, color-coded by load (Green < 70%, Orange < 85%, Red ≥ 85%).
Multi-Mode Optimization:
Process Working Set Trimming (Public Win32 API): Iterates and trims the working sets of applications.
Standby Memory List Purging (Undocumented NT API): Clears system standby caches.
Modified Page List Flushing (Undocumented NT API): Flushes modified pages to disk.
1-Click Focus/Gaming Mode: Provides a 5-second countdown to lock onto your foreground app, automatically compressing background memory hogs and applying Windows 11's EcoQoS Efficiency Mode (Power Throttling) to maximize performance for games or heavy workloads. Features TopMost notification dialogs and precise foreground application name tracking to bypass system notification suppression.
Targeted App Trimmer: Precision per-application memory compression dialog to select and trim individual memory-heavy applications.
Responsive Auto-Layout UI: Full WinForms TableLayoutPanel and SystemFonts DPI scaling integration ensures all dialogs seamlessly adapt to 100%, 125%, 150%, and custom DPI scaling settings.
i18n & Language Override: Auto-localizes UI between English and Traditional Chinese based on OS culture. Also supports --en flag to force English UI rendering.
Event Log Analysis: Automatically scans Windows Event Log (Event ID 2004) to detect memory-exhaustion warnings and recommend optimal thresholds.
Auto-Start on Boot: Supports registering via Task Scheduler with highest privileges (Admin) or registry Run keys (Standard User).
Log Rotation: Logs all activities to memory_opt.log, automatically rotating and backing up when file size exceeds 2MB.
Duplicate Prevention: Implements a system-wide named Mutex to prevent running duplicate instances.
Standard NSIS Installer & WinGet Manifests: Distributed as a clean NSIS installer and available via WinGet.
Quick Start
Installation via WinGet
winget install Optico.WinMemoryOpt
Installation via Setup Package
Download WinMemoryOpt-Setup-1.2.2.exe from Releases and run the installer.
Manual Launch & Language Override
# Run standard UI (Auto-detect System Language)
WinMemoryOpt.exe
# Force English UI rendering
WinMemoryOpt.exe --en