News

How to Fix Out of Memory Error in Windows

Homegroup icon
Written by Kelly Houstan

You guys may receive an “Out of Memory” error message due to the desktop heap limitation. After you guys open many application windows, you guys may be unable to open any additional windows. Many times, a window may open as well. Just read this article to know all about How to Fix Out of Memory Error in Windows. Let’s start!

But, it will not contain the expected components. Plus, you may also receive an error message that resembles the following:

Out of memory or system resources. Close some windows or programs and try again.

This problem also occurs because of the desktop heap limitation. If you guys close some windows, and then you guys try to open other windows, these windows may open. But, this method does not affect the desktop heap limitation as well.

How to Fix Out of Memory Error in Windows

In the introductory part, we also have already seen that whenever your system does not have enough memory left to run any application, process. As well as service the Out Of Memory Error java appears. Obviously, this is not the only reason behind this error, many applications take a lot of memory especially heavy applications such as video editors, graphics editors. Moreover, chances are that your system has also been infected via the virus or malware that is taking over the memory. Pending windows update is also one of the causes of this issue as well.

In order to resolve this problem yourself, modify the desktop heap size. To do this, just follow these steps:

  • Tap on Start, type Regedit in the Start Search box, and then tap on regedit.exe in the Programs list or tap on Windows key + R and in Run dialog box type Regedit, tap on OK.
  • Then locate and then tap on the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems
  • Just right-click the Windows entry, and then tap on Modify.
  • Now in the Value data section of the Edit String dialog box, then locate the SharedSection entry. And then increase the second value and the third value for this entry as well.

SharedSection uses the following format in order to specify the system and desktop heaps:

Out of Memory Error

SharedSection=xxxx,yyyy,zzzz

For 32-bit operating systemsincrease the yyyy value to “12288”;
Increase the zzzz value to “1024”.
For 64-bit operating systemsincrease the yyyy value to “20480”;
Increase the zzzz value to “1024”.

Note:

  • Well, the second value of the SharedSection registry entry is basically the size of the desktop heap for each desktop. That is associated along with an interactive window station. The heap is required for each desktop that is also created in the interactive window station (WinSta0). The value is actually in kilobytes (KB).
  • The third SharedSection value is actually the size of the desktop heap for each desktop that is actually associated along with a “non-interactive” window station. The value is basically in kilobytes (KB).
  • We do not really recommend that you set a value that is more than 20480 KB for the second SharedSection value.
  • We also increase the second value of the SharedSection registry entry to 20480 as well as increased the third value of the SharedSection registry entry to 1024 in the automatic fix as well.

Perform Clean Boot | Out of Memory Error

So, this is actually one of the best ways to start clean boot means. That all your third-party applications, services, and also processes will be stopped. That will make a lot of room for running the application throwing the Out Of Memory Error Java heap space. You have to follow the steps.

  • You have to Open up the Run window, you guys can do this via pressing the Windows+R key
  • In the run window type msconfig and click on Enter
  • In this new window, go to the Services Tab and tick on Hide all Mircosoft service
  • Make sure to tap on Disable all button
  • Now go to the Startup tab and tap on Open Task Manager
  • All the application that you guys see are the one that runs at startup
  • Right-tap and Disable each of them
  • Finally, go back to the System Configuration window and tap on Apply for getting back from Out Of Memory Error Windows 7.

Increasing Virtual Memory | Out of Memory Error

Another way to get rid of out-of-memory error fallout in new vegas is just to increase the virtual memory of your system. Below are all the steps in order to do this.

  • In the search bar, just type Performance
  • From the results tap on Adjust the appearance and performance of Windows
  • In the Performance Options window, just move to the Advanced tab
  • Now below you will see a Change button, just tap on it
  • Select C: drive, then at the bottom select a Custom size option
  • Fill the Custom size and Maximum size boxes, for reference you can also check the Total Paging File size for all drive
  • When you guys have filled the boxes, tap on the Set button
  • At last, Restart your system and just check if the Out Of Memory Error Windows 10 persists

Conclusion

Well, That is all from my side. If you want to know more about this article or have any queries. Then feel free to ask me anything in the comments section below.

Have a Good Day!

Also See: How to See Everyone on Zoom – User Guide

About the author

Kelly Houstan

Leave a Comment