How To Fix A Memory Leak In Windows 11

Are you experiencing a memory leak in Windows 11? Follow these troubleshooting tips to resolve the issue and optimize your computer’s performance.

Factual data shows that memory leaks can be a common issue for Windows 11 users, causing high RAM usage and decreased performance. To fix memory leaks in Windows 11, we recommend the following steps:

  1. Check for memory leaks using the Resource Monitor. Press Windows + R, type “resmon,” and hit Enter. Look at the “Standby” memory under the “Memory” tab. If the Standby memory remains high even with no apps running, it indicates a memory leak issue.
  2. Close all windows of File Explorer to release memory. Right-click on the File Explorer icon in the Taskbar and click on “Close all windows.” Then, open the Task Manager by pressing Ctrl + Shift + Esc and under the “Processes” tab, right-click on “Windows Explorer” and click on “Restart.
  3. Modify File Explorer Folder Options to prevent memory leaks. Open File Explorer, click on the 3-dot menu, and open “Options.” In the “View” tab, enable the checkbox for “Launch folder windows in a separate process.”
  4. Disable unnecessary startup programs to free up resources. Open the Task Manager by pressing Ctrl + Shift + Esc and go to the “Startup” tab. Disable any programs that are not needed after login.
  5. Increase virtual memory to provide additional RAM. Press the Windows key and search for “advanced system.” Open “View advanced system settings” and click on “Settings” under the “Performance” section. Go to the “Advanced” tab and click on “Change” under “Virtual memory.” Uncheck the “Automatically manage paging file size” and set the initial size and maximum size as recommended. Restart the PC.
  6. Use the built-in Windows Memory Diagnostic tool to check for faulty RAM. Press the Windows key and search for “tools” to open “Windows Tools.” Open the “Windows Memory Diagnostic” tool and restart the PC. View the test results in the Event Viewer.

By following these steps, users can fix memory leaks in Windows 11 and improve system performance.

Identifying and Closing Memory Leaking Processes

To pinpoint the source of the memory leak, you’ll need to utilize the Resource Monitor, close File Explorer windows, and restart Windows Explorer. Follow these steps to identify and close memory leaking processes in Windows 11:

  1. Open the Resource Monitor by pressing the Windows key + R, typing “resmon,” and hitting Enter.
  2. In the Resource Monitor window, navigate to the “Memory” tab and look for the “Standby” memory. If the Standby memory remains high even with no apps running, it indicates a memory leak issue.
  3. To close File Explorer windows, right-click on the File Explorer icon in the Taskbar and click on “Close all windows.” This will release memory occupied by File Explorer.
  4. Next, open the Task Manager by pressing Ctrl + Shift + Esc and switch to the “Processes” tab.
  5. Locate and right-click on “Windows Explorer” in the list of processes.
  6. Select “Restart” from the context menu to restart Windows Explorer. This will refresh the system and potentially resolve any memory leak caused by Windows Explorer.

These steps will help you identify and close memory leaking processes that may be causing high RAM usage in Windows 11.

Modifying File Explorer Folder Options

In addition to closing memory leaking processes, you can also modify File Explorer Folder Options to prevent memory leaks in Windows 11. Follow these steps:

  1. Open File Explorer by clicking on the folder icon in the Taskbar or pressing Windows key + E.
  2. Click on the 3-dot menu in the top-right corner of the File Explorer window.
  3. From the dropdown menu, select “Options” to open the Folder Options dialog box.
  4. In the Folder Options dialog box, switch to the “View” tab.
  5. Enable the checkbox for “Launch folder windows in a separate process” and click on “Apply” to save the changes.

By enabling this option, each File Explorer window will run in a separate process, minimizing the risk of memory leaks.

Disable Unnecessary Startup Programs

Another way to free up resources and prevent memory leaks is by disabling unnecessary startup programs. Here’s how:

  1. Open the Task Manager by pressing Ctrl + Shift + Esc or right-clicking on the Taskbar and selecting “Task Manager” from the menu.
  2. Switch to the “Startup” tab in the Task Manager.
  3. Review the list of startup programs and disable any programs that are not required to start automatically after login.
  4. Right-click on a program and select “Disable” to prevent it from running at startup.

Disabling unnecessary startup programs can help optimize system resources and reduce the chances of memory leaks.

Increasing Virtual Memory

If memory leaks persist, increasing the virtual memory can provide additional RAM and potentially resolve the issue. Follow these steps:

  1. Press the Windows key and search for “advanced system” to open the “View advanced system settings.”
  2. In the System Properties window, click on “Settings” under the “Performance” section.
  3. In the Performance Options dialog box, switch to the “Advanced” tab.
  4. Under the “Virtual memory” section, click on “Change.”
  5. Uncheck the “Automatically manage paging file size for all drives” option.
  6. Select the “Custom size” radio button and set the initial size and maximum size according to the recommended values.
  7. Click on “Set” and then “OK” to apply the changes.
  8. Restart your PC for the new virtual memory settings to take effect.

Increasing the virtual memory can provide a temporary solution to memory leaks by allocating additional space for data storage.

By following these steps, you can identify, close, and prevent memory leaks in Windows 11, helping to improve system performance and stability.

Optimizing System Settings and Performing Diagnostic Tests

To further address memory leaks in Windows 11, optimizing system settings and performing diagnostic tests can be highly effective. By following these steps, users can fix memory leaks and improve system performance.

Check for memory leaks using the Resource Monitor: Press Windows + R, type “resmon,” and hit Enter. Look at the “Standby” memory under the “Memory” tab. If the Standby memory remains high even with no apps running, it indicates a memory leak issue.

Close all windows of File Explorer to release memory: Right-click on the File Explorer icon in the Taskbar and click on “Close all windows.” Then, open the Task Manager by pressing Ctrl + Shift + Esc and under the “Processes” tab, right-click on “Windows Explorer” and click on “Restart.”

Modify File Explorer Folder Options to prevent memory leaks: Open File Explorer, click on the 3-dot menu, and open “Options.” In the “View” tab, enable the checkbox for “Launch folder windows in a separate process.”

Disable unnecessary startup programs to free up resources: Open the Task Manager by pressing Ctrl + Shift + Esc and go to the “Startup” tab. Disable any programs that are not needed after login.

Increase virtual memory to provide additional RAM: Press the Windows key and search for “advanced system.” Open “View advanced system settings” and click on “Settings” under the “Performance” section. Go to the “Advanced” tab and click on “Change” under “Virtual memory.” Uncheck the “Automatically manage paging file size” and set the initial size and maximum size as recommended. Restart the PC.

Use the built-in Windows Memory Diagnostic tool to check for faulty RAM: Press the Windows key and search for “tools” to open “Windows Tools.” Open the “Windows Memory Diagnostic” tool and restart the PC. View the test results in the Event Viewer.

By following these steps, users can fix memory leaks in Windows 11 and improve system performance.

Meet the Author

Abdul Rahim has been working in Information Technology for over two decades. Learn how Abdul got his start as a Tech Blogger , and why he decided to start this Software blog. If you want to send Abdul a quick message, then visit his contact page here.