Since I built my new computer this past February, I’ve encountered periodic memory related errors. I have 4GB of RAM and a fancy new AMD X2 CPU running Windows Vista Business, but I kept receiving errors that I couldn’t start new processes due to a lack of resources. Task Manager showed I was only using about 30% of system resources.
Luckily this only happened when I had an obnoxious number of applications and windows opened, so I just dealt with it. But when I was scanning my RSS feeds this morning I saw Ed Bott has written a post describing the fix for this issue on both 32 and 64 bit platforms. It seems this problem has been around from the old Windows NT days (see KB 126962), and is related to the size of the desktop heap.
To fix this issue you will need to change the value of the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems\ key . Edit the Windows value. If you’re not sure how to do this, you probably shouldn’t be messing in the registry to begin with.
Anyway, look for the section that begins with Shared Section. Change the second number from it’s default of 3072 to 4096. Restart your computer and test to see if you can now open more apps and windows. If your performance is still not acceptable, keep increasing that value in increments of 1024. Don’t forget to reboot after each change.