Skip to content

Latest commit

 

History

60 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord RAM Limiter

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.

Screenshot

Discord RAM Limiter preview

Download

Download the latest build from the GitHub Releases page:

Download from GitHub Releases

Antivirus Note

This app is a small unsigned Windows executable. Some antivirus scanners may flag unsigned apps heuristically, especially when they inspect running processes. The release build is not packed or obfuscated, and the source code is available in this repository.

You do not need to disable your antivirus to use this app. If you are unsure, do not run the release build; build the app from source and compare it with the release checksum.

Features

  • 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 Open and Exit actions.
  • Supports Discord Stable, Canary, PTB, and Development process names.

Supported Discord Processes

The limiter looks for these process names:

Discord
DiscordCanary
DiscordPTB
DiscordDevelopment

Requirements

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.

Build From Source

Clone or download the repository, then run:

dotnet restore .\DiscordRamLimiter.sln
dotnet build .\DiscordRamLimiter.sln

Run From Source

dotnet run --project .\DiscordRamLimiter\DiscordRamLimiter.csproj

Create A Local Release Build

This 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-release

The output contains:

DiscordRamLimiter.exe
DiscordRamLimiter.dll
DiscordRamLimiter.deps.json
DiscordRamLimiter.runtimeconfig.json

Disclaimer

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.

License

This project is licensed under the MIT License.

About

Limit Discord’s RAM usage to improve performance on low-end systems. Lightweight and simple background utility. ⭐

Topics

Resources

Stars

57 stars

Watchers

4 watching

Forks

Releases

Used by

Contributors

Languages