Fix: For out of memory error, when your not!

T60/T61 series specific matters only
Post Reply
Message
Author
DAH
Senior Member
Senior Member
Posts: 506
Joined: Sun Oct 08, 2006 6:44 pm
Location: Ohio

Fix: For out of memory error, when your not!

#1 Post by DAH » Tue Oct 17, 2006 9:42 am

I was often running into a situation where I could no longer open a new Internet Explorer window when I clicked on a link. I purchased an extra 1 GB of memory to fix this problem but on my T60p it had no effect. Sometimes I would click on a tab on say a driver setting window, and the tab would disappear!

I've got Google Side Bar running, Outlook, Outlook Express, and Internet Explorer running as a rule. Sometimes I was limited to just 12 Internet Explorer windows open at a time. At other times I could have as many as 22 ~ 24 open before I would start to see this.

I did some investigation and found this.

1. Run Registry Editor (Regedt32.exe).
2. From the HKEY_LOCAL_MACHINE subtree, go to the following key: \System\CurrentControlSet\Control\Session Manager\SubSystems
3. Select the Windows value.
4. From the Edit menu, choose String.
5. 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.

I have;

%SystemRoot%\system32\csrss.exe
ObjectDirectory=\Windows
SharedSection=1024,3072,512 <==Changed to 768
Windows=On
SubSystemType=Windows
ServerDll=basesrv,1
ServerDll=winsrv:UserServerDllInitialization,3
ServerDll=winsrv:ConServerDllInitialization,2
ProfileControl=Off
MaxRequestThreads=16

While the article gives

%SystemRoot%\system32\csrss.exe
ObjectDirectory=\Windows
SharedSection=1024,3072
Windows=On
SubSystemType=Windows
ServerDll=basesrv,1
ServerDll=winsrv:GdiServerDllInitialization,4
ServerDll=winsrv:UserServerDllInitialization,3
ServerDll=winsrv:ConServerDllInitialization,2
ProfileControl=Off
MaxRequestThreads=16

I took a chance and increased the 512 value given above by 256 to 768 this has allowed me to open up to 32 Internet Explorer windows at the same time, before I got bored with opening IE windows. In windows Task Manager I have about 92 ~ 95 processes running at any given time with out seeing windows failing to open.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. I cannot guarantee that these problems can be solved. Modify the registry at your own risk. I accept no responsibility for anything you might do based on these instructions. If your computer dies, it's your problem not mine.
Image ThinkPad T60p T7600 4 GB RAM 320 GB 7200 RPM HD Vista Ultimate Service Pack 2 5.1 4.7 4.2 4.6 5.8

Kamika007z
Junior Member
Junior Member
Posts: 353
Joined: Fri Apr 07, 2006 9:04 am
Location: NJ
Contact:

#2 Post by Kamika007z » Sat Oct 21, 2006 1:31 am

Great find! Thanks! :)

christopher_wolf
Special Member
Posts: 5741
Joined: Sat Oct 08, 2005 1:24 pm
Location: UC Berkeley, California
Contact:

#3 Post by christopher_wolf » Sat Oct 21, 2006 1:55 am

Good job on locating that article and applying it correctly. :)

This applies to more than just the T60 as well.
IBM ThinkPad T43 Model 2668-72U 14.1" SXGA+ 1GB |IBM 701c

~o/
I met someone who looks a lot like you.
She does the things you do.
But she is an IBM.
/~o ---ELO from "Yours Truly 2059"

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad T6x Series”

Who is online

Users browsing this forum: No registered users and 6 guests