Vista prompts "insufficient memory" or there is still a lot of free physical memory but can not open the window solution

  
                  Problem Description


Vista's memory requirements are much higher than WinXP, even if the system is configured with 1GB or more of memory, sometimes it will inevitably encounter Windows Vista prompt "out of memory" warning, or Although the program window cannot be opened without a prompt, even the program window is open but not complete, such as missing menus, buttons, and so on.


Analysis

whether the system truly how much physical memory, Windows uses only a specific amount of memory to store the desktop range of component elements, such as windows, menus and various controls, at 32 In Windows, the memory interval, the so-called Desktop Heap size, defaults to 3072KB. If there are too many windows open in the current system, even if there is still available physical memory, Windows will refuse to open a new window or open a new window as long as the desktop heap area is fully occupied, or simply give "out of memory" Prompt to refuse to run.



solutions

to avoid similar "out of memory" problem, consider modifying the size of the desktop heap from 3072KB to a larger setting, such as 4096KB, severe Users can even consider setting this value to 8192KB. You can use the following settings to achieve

enter "regedit" in the search box of the Windows Vista start menu, press Enter;
Registry Edit will pop up Prompt window, click to confirm to continue;
Locate the following registry branch:


- HKEY_LOCAL_MACHINE
-- SYSTEM
---- - CurrentControlSet
-------- Control
---------- Session Manager
----------------SubSystems< BR>
In the right panel, find the registry key named "Windows", double-click;


The value of this registry key is a fairly long character String, find the "SharedSection=1024,3072,512" part of the string, and change "3072" to the number you want, such as "4096"; (note, don't modify the rest of the string)
Restart Windows Vista and you're done.


Note: If you continue like "Out of memory" warning, consider the value is set to be larger, to see whether the problem is resolved. If the computer's physical memory is too low, the end user still needs to add memory usage.

There is a risk in modifying the registry at the same time. Please be cautious and make a backup in advance.

Copyright © Windows knowledge All Rights Reserved