How to fix Out of Memory error in windows 10

out of memory error fix

How to fix “Out of Memory” error in windows 10

You may receive an “Out of Memory” error message because of the desktop heap limitation. After you open many application windows, you may be unable to open any additional windows. Sometimes, a window may open. However, it will not contain the expected components. Additionally, you may receive an error message that resembles the following:

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

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

Out of Memory error fix

To fix this problem automatically, click the Fix it button or link. Click Run in the File Download dialog box and follow the steps in the Fix it wizard.

How to fix Out of Memory error in windows 10

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

1.Click Start, type regedit in the Start Search box, and then click regedit.exe in the Programs list or press Windows key + R and in Run dialog box type regedit, click OK.

open registry editor

2.Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems

subsystem key in sesssion manager

3.Right-click the Windows entry, and then click Modify.

modify window entry

4.In the Value data section of the Edit String dialog box, locate the SharedSection entry, and then increase the second value and the third value for this entry.

shared section string

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

SharedSection=xxxx,yyyy,zzzz

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

Note:

  • The second value of the SharedSection registry entry is the size of the desktop heap for each desktop that is associated with an interactive window station. The heap is required for each desktop that is created in the interactive window station (WinSta0). The value is in kilobytes (KB).
  • The third SharedSection value is the size of the desktop heap for each desktop that is associated with a “non-interactive” window station. The value is in kilobytes (KB).
  • We do not recommend that you set a value that is over 20480 KB for the second SharedSection value.
  • We increase the second value of the SharedSection registry entry to 20480 and increase the third value of the SharedSection registry entry to 1024 in the automatic fix.

You may also like:

That’s it you have fixed “Out Of Memory” error in windows 10 but if you still face some error regarding this then try this post on How to fix “Your Computer Is Low On Memoryand see if it helps. If you still have any queries regarding this post please feel free to comment.

Was this article helpful?

Related Articles

2 Comments

  1. W

    So the instructions for the manual fix tell us that the values are xxxx,yyyy,zzzz. But the image above shows the values as xxxx,yyyyy,zzz (1024,20480,768). Then the instructions tell you to replace yyyy and zzzz (4 digits each) with 20480 (5 digits) for value Y and 1024 (4 digits) for value Z. But this doesn’t make sense since the image shows 1024 as value X already.
    What gives?

Leave A Comment?