This week, social media users have been buzzing about Discord’s new experiment on X. The focus is on an intriguing feature that automatically restarts the desktop client when memory usage spikes. Contrary to what some might think, this initiative stems from a genuine desire to address performance challenges, but it raises the question: Is using Electron the best choice for Windows 11?
As an Electron application, Discord operates much like a Google Chrome window equipped with Node.js. Each server or message in Discord acts as an individual tab, leading to increased memory consumption as users navigate through functionalities.
Despite widespread criticism of Electron, it remains one of the most widely adopted frameworks on the Windows platform, with Discord prominently among its users.

Microsoft Teams, also tied to Electron, recently acknowledged the significant RAM demands of its application. Whereas Microsoft has opted to create separate processes for calls to enhance performance, Discord is taking a different approach by exploring automatic client restarts.
Discord claims that the RAM usage of its Windows client typically hovers around 1GB but can peak as high as 4GB. While the company is actively working to optimize memory consumption, it believes that testing a restart protocol upon exceeding 4GB is a reasonable approach.
“Yes, we’re testing a restart when memory exceeds 4GB (normal usage is less than 1GB), ” a Discord employee stated in a Reddit post highlighted by Windows Latest. It’s important to note that Discord doesn’t simply terminate and relaunch when it hits that memory threshold. Instead, it evaluates various metrics, including the user’s activity status.

For instance, if a user has been inactive for over 30 minutes or is disconnected from voice or video calls, they can expect the app to restart automatically once the memory threshold is reached. Additionally, the app must remain active for at least one hour prior to this action.
Discord contends that this experiment is conducted in good faith, ensuring that no more than one restart occurs within a 24-hour period.
Efforts to Mitigate RAM Consumption on Windows 11
Since launching its memory optimization initiative in October 2025, Discord has reported multiple significant improvements, such as addressing memory leaks across several scenarios.
To further enhance performance, Discord has also managed to lower RAM usage for many users.
“Some users are seeing improvements, with a reported overall reduction of 5% in the p95 memory metrics so far, ” the company disclosed.“We have identified issues related to the platform, OS, drivers, and hardware, and have collaborated closely with partners to develop reproducible evidence and eventual fixes.”
However, the challenges Discord faces extend beyond the confines of the Electron framework, as the application itself is also criticized for being poorly constructed.
Developers have noted that Discord improperly utilizes Windows APIs, opting instead for cumbersome commands like Get-WmiObject Win32_logicaldisk via PowerShell just to retrieve basic system information. While the majority of these issues have been rectified, there remains a substantial journey ahead for Discord. Nonetheless, one could argue that Discord’s situation is not unique, as even Microsoft’s applications face performance hurdles when operating as web-based solutions.
Leave a Reply