How to Fix the “Not Enough Memory to Complete This Operation” Error in Windows 11 Getting the frustrating "Not enough memory to complete this operation" error in Windows 11 can halt your workflow, even when you appear to have sufficient RAM. In this video, we'll show you five critical fixes to get your PC running smoothly again. Before we begin, be sure to subscribe to NinjaOne's IT Video Hub and our YouTube channel for more tech content like this. Identifying the Causes of the "Not Enough Memory" Error This error usually stems from misconfigured virtual memory, Windows Desktop Heap size limits, 32-bit application constraints, or underlying system corruption. Before attempting fixes, ensure you have Administrator privileges and backup your system and registry. Also, close unused programs and note if the error is system-wide or app-specific. Addressing these prerequisites ensures you can apply the solutions effectively and safely. Core Fixes: Adjusting Virtual Memory and Registry Heap Our first fix is adjusting Virtual Memory, also known as the paging file. First, go to Advanced System Settings, then select Performance Settings and click Virtual Memory. From there, uncheck “Automatically manage paging file size” and set a custom size: Initial should be 1.5 times your installed RAM, and Maximum should be 3 times your RAM, both in MB. For advanced environments like RDP sessions, you may need to modify the Desktop Heap size in the Windows Registry. Navigate to the SharedSection value and cautiously increase the third value (non-interactive Desktop Heap, default 768) to 1024 or 2048. Always back up the Registry first! System Health Checks and Cleanup Underlying system file corruption can easily cause memory issues. Here are the steps to address system file issues and clean temporary files. System Health Checks First, open Command Prompt as administrator Next, run sfc /scannow Once it finishes, run DISM /Online /Cleanup-Image /RestoreHealth Finally, after both scans complete, restart your computer. Cleanup First, use Disk Cleanup (cleanmgr) to delete temporary files. Consider using ShellExView to clean shell extensions that may cause explorer errors. Additionally, temporary files can cause explorer errors, so use Disk Cleanup (cleanmgr) and consider ShellExView to clean shell extensions. Diagnosing Memory Leaks and 32-Bit Application Limits A less obvious cause is the use of legacy 32-bit applications, which have strict memory limitations. Check the Details tab in Task Manager for any 32-bit labels and look for a 64-bit alternative if available. For persistent issues, use Windows’ built-in diagnostic tools. Event Viewer (eventvwr) can log memory-related errors, including event IDs 2004, 2019, or 2020. You can also use Resource Monitor (resmon.exe) to actively track usage or run the Windows Memory Diagnostic Tool (mdsched.exe) for hardware issues. These tools are key to identifying third-party memory leaks. Implementing these five solutions ensures your high-memory and multitasking workflows remain uninterrupted. Say goodbye to crashes and hello to restored performance by optimizing your system's memory management from the ground up. For more information, check out our official blog post on How to Fix the “Not Enough Memory to Complete This Operation” Error in Windows 11 linked in the description below. Be sure to subscribe to NinjaOne's IT Video Hub and our YouTube channel for more tech content like this.

How to Fix the “Not Enough Memory to Complete This Operation” Error in Windows 11

Dealing with the frustrating “Not enough memory to complete this operation” error in Windows 11? This persistent issue can halt your workflow, even if your PC has plenty of RAM. Get back to work fast! We reveal 5 powerful methods to solve this problem, including adjusting Virtual Memory, editing the Windows Registry for heap size, running system file checks (SFC/DISM), and managing 32-bit applications. Stop the errors today!

Read the full blog on How to Fix the “Not Enough Memory to Complete This Operation” Error in Windows 11

Never miss a NinjaOne video!