How igormundstein/winmemorycleaner works
Windows Memory Cleaner is a Windows RAM-monitoring and optimization app. Users view memory status and trigger optimization from the main window or tray; scheduled and low-memory optimization can also run through the Windows service. The computer service performs the selected native memory operations and reports results for display and notifications. The README also documents hotkeys, configuration, localization, themes, startup behavior, logging, and automatic updates. Some feature wiring is only documented or indexed, so unverified relationships are omitted or dashed.
Main entry points: MainViewModel.cs Main view model · ComputerService.cs Computer service · App.xaml.cs Application startup · NotificationService.cs Tray notifications
Components 18
App and UI
- Application startup
src/App.xaml.cs - Main window
src/View/Window/MainWindow.xaml.cs - Main view model
src/ViewModel/MainViewModel.cs - Tray notifications
src/Service/NotificationService.cs - Tray menu
src/View/Control/TrayIconContextMenuControl.cs
Memory optimization
- Computer service
src/Service/ComputerService.cs - Memory status
src/Model/Memory/Memory.cs
Settings and support
- Application settings
src/Core/Settings.cs - Localization
src/Core/Localizer.cs - Language model
src/Model/Language.cs - Theme manager
src/Core/ThemeManager.cs - Logging
src/Core/Logger.cs - Automatic updates
src/Core/Updater.cs
Windows integration
- Native Windows APIs
src/Interop/NativeMethods.cs - Scheduled optimization
src/WindowsService/WinService.cs - Global hotkey
src/Service/HotKeyService.cs
Other components
- User
- Windows
Connections 23
- User → Main window: uses
- Main window → Main view model: binds to
src/View/Window/MainWindow.xaml.cs - Main view model → Computer service: requests optimization
src/ViewModel/MainViewModel.cs - Main view model → Memory status: presents status
src/ViewModel/MainViewModel.cs - Main view model → Tray notifications: updates
src/ViewModel/MainViewModel.cs - Tray notifications → Tray menu: creates menu
src/Service/NotificationService.cs - Tray menu → Main view model: triggers actions
- Computer service → Native Windows APIs: calls APIs
src/Service/ComputerService.cs - Computer service → Memory status: reads memory
src/Service/ComputerService.cs - Scheduled optimization → Computer service: requests optimization
src/WindowsService/WinService.cs - Scheduled optimization → Application settings: reads schedule
src/WindowsService/WinService.cs - Global hotkey → Native Windows APIs: registers keys
src/Service/HotKeyService.cs - Main view model → Global hotkey: configures hotkey
- Application settings → Localization: sets language
src/Core/Localizer.cs - Localization → Language model: loads language
src/Core/Localizer.cs - Main view model → Theme manager: uses themes
src/ViewModel/MainViewModel.cs - Application startup → Computer service: registers service
src/App.xaml.cs - Application startup → Tray notifications: registers service
src/App.xaml.cs - Application startup → Application settings: loads settings
src/App.xaml.cs - Application startup → Automatic updates: checks updates
src/App.xaml.cs - Computer service → Logging: records results
src/Service/ComputerService.cs - Tray notifications → Memory status: shows memory
src/Service/NotificationService.cs - Native Windows APIs → Windows: invokes system APIs
src/Interop/NativeMethods.cs