Out+of+Memory+Error

Out of Memory Error

Even When You Have Plenty of Available Memory

You canʹt always believe everything Windows tells you.

Sometimes if you have lots of Windows programs running, you may get an ʺout of memoryʺ message even though thereʹs plenty of physical and virtual memory available.

It can affect any OS from NT 3.1 to XP/Server 2003.

It happens because the desktop heap is depleted.

However, you can edit the Registry to increase the size of the desktop heap.

Oh dear here we go again implement My Tip re the Registry

Go to :‐

Start > Run In the box type “ Regedit32.exe “ or “ Regedit “ (Note:‐ No quotes),

Scroll to :‐

HKEY_LOCAL_MACHINE \System\CurrentControlSet\Control\Session Manager\SubSystems

Select the Windows value.

From the Edit menu, choose String.

Increase the SharedSection parameter.

SharedSection specifies the system and desktop heaps using the following format:

SharedSection=xxxx,yyyy

Where xxxx defines the maximum size of the system‐wide heap (in kilobytes) and yyyy defines the size of the per desktop heap.

The default value of the per desktop heap under Windows NT 3.5 (512K) can support approximately 2,500 windows.

Increasing the desktop heap by 256K or 512K normally provides enough memory to correct ʺOut of Memoryʺ errors messages.