Discord RAM Limiter is a small Windows desktop app that monitors Discord memory usage and can trim Discord's working set while it runs in the background.
The app uses the native Windows SetProcessWorkingSetSize(process.Handle, -1, -1) call on detected Discord processes when the limiter is enabled.
Download the latest build from the GitHub Releases page:
- Modern WPF desktop interface.
- Live Discord RAM usage display.
- Discord process count display.
- Animated ON/OFF limiter switch.
- Safe background monitor loop with cleanup on exit.
- Minimize-to-tray behavior.
- System tray notification when the app is minimized.
- Tray menu with
OpenandExitactions. - Supports Discord Stable, Canary, PTB, and Development process names.
The limiter looks for these process names:
Discord
DiscordCanary
DiscordPTB
DiscordDevelopment
To run the release build:
- Windows 10 or newer.
- .NET Desktop Runtime, if using the framework-dependent release.
To build from source:
- Windows 10 or newer.
- .NET 10 SDK with Windows Desktop support.
Clone or download the repository, then run:
dotnet restore .\DiscordRamLimiter.sln
dotnet build .\DiscordRamLimiter.slndotnet run --project .\DiscordRamLimiter\DiscordRamLimiter.csprojThis creates a small framework-dependent release folder:
dotnet publish .\DiscordRamLimiter\DiscordRamLimiter.csproj -c Release --self-contained false -p:DebugType=None -p:DebugSymbols=false -o .\publish\DiscordRamLimiter-github-releaseThe output contains:
DiscordRamLimiter.exe
DiscordRamLimiter.dll
DiscordRamLimiter.deps.json
DiscordRamLimiter.runtimeconfig.json
This project is not affiliated with Discord.
Use at your own risk. Trimming process working sets may affect Discord performance or stability, and Windows may restore memory usage as Discord continues running.
This project is licensed under the MIT License.
