A few Session Manager Questions/Why does SharedSection have 4 parameters?

R

Rick

This one is probably for a MVP, MSFT or anyone else familiar with
Win2K's desktop heap.

I'm getting "out of memory" errors while doing certain functions in
Adobe Photoshop 7.01 (specifically, working with 1-bit/B&W
graphics), although I have plenty of free RAM and pagefile remaining.
So I suspect a leak exists in PS. I'd like to allocate more heap to see
if it will work around the issue.

When poking through the registry I discovered the SharedSection
of this key...:

HKLM\System\CurrentControlSet\Control\Session Manager\
SubSystems\Windows

....has four parameters: 1024,3072,512,512

I was able to locate the purpose of the first three parameters in
MS's tech database:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;184802
http://support.microsoft.com/default.aspx?scid=kb;en-us;126962
but I can't find any notes related to the 4th parameter. Does anyone
know its purpose?

Also, I've read that removing the Optional, Os2 & Posix keys in
Session Manager\SubSystems will free up memory/resources
(I'm not using any of them). Is this correct?

Thanks,
Rick
 
D

dcdon

Hi Rick,

There has been some issues with Virtual Memory. I don't know if it is UpDate
related or possibly infection. There is one KB on resetting the pagefile.sys.

Here it is: http://support.microsoft.com/?kbid=257758

This is more likely for rebuilding after the system has created temppf.sys. You
can do a search, but you have to be able to see system files. To do that look in
Folder Options in Control Panel. It's under general[tab].

There is another work around, if there is no temppf.sys created. The reason, you
can not delete the pagefile.sys. You will have to do that from the Restoration
Console by overwriting the file with say the boot.ini.

But I have another idea first. You can try resetting the virtual Memory size to
below the minimum MS recommends, like 31 MB for both and reboot. Then search for
temppf.sys then. If it shows, you are free to nuke pagefile.sys, so try 257758.

If you can't get it from there here is a KB for clearing pagefile.sys.
http://support.microsoft.com/?kbid=314834

If you have trouble, I am going to give you the instructions to rebuild
pagefile.sys.

--
good computing,
don
--------


This one is probably for a MVP, MSFT or anyone else familiar with
Win2K's desktop heap.

I'm getting "out of memory" errors while doing certain functions in
Adobe Photoshop 7.01 (specifically, working with 1-bit/B&W
graphics), although I have plenty of free RAM and pagefile remaining.
So I suspect a leak exists in PS. I'd like to allocate more heap to see
if it will work around the issue.

When poking through the registry I discovered the SharedSection
of this key...:

HKLM\System\CurrentControlSet\Control\Session Manager\
SubSystems\Windows

....has four parameters: 1024,3072,512,512

I was able to locate the purpose of the first three parameters in
MS's tech database:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;184802
http://support.microsoft.com/default.aspx?scid=kb;en-us;126962
but I can't find any notes related to the 4th parameter. Does anyone
know its purpose?

Also, I've read that removing the Optional, Os2 & Posix keys in
Session Manager\SubSystems will free up memory/resources
(I'm not using any of them). Is this correct?

Thanks,
Rick
 
R

Rick

Don, did you mistakenly reply to a different message thread? Your
post seems to be talking about pagefile corruption...

Rick
 
D

dcdon

Sorry about that one.

--
:blush:)
don
---------




Hi Rick,

There has been some issues with Virtual Memory. I don't know if it is UpDate
related or possibly infection. There is one KB on resetting the pagefile.sys.

Here it is: http://support.microsoft.com/?kbid=257758

This is more likely for rebuilding after the system has created temppf.sys. You
can do a search, but you have to be able to see system files. To do that look in
Folder Options in Control Panel. It's under general[tab].

There is another work around, if there is no temppf.sys created. The reason, you
can not delete the pagefile.sys. You will have to do that from the Restoration
Console by overwriting the file with say the boot.ini.

But I have another idea first. You can try resetting the virtual Memory size to
below the minimum MS recommends, like 31 MB for both and reboot. Then search for
temppf.sys then. If it shows, you are free to nuke pagefile.sys, so try 257758.

If you can't get it from there here is a KB for clearing pagefile.sys.
http://support.microsoft.com/?kbid=314834

If you have trouble, I am going to give you the instructions to rebuild
pagefile.sys.

--
good computing,
don
--------


This one is probably for a MVP, MSFT or anyone else familiar with
Win2K's desktop heap.

I'm getting "out of memory" errors while doing certain functions in
Adobe Photoshop 7.01 (specifically, working with 1-bit/B&W
graphics), although I have plenty of free RAM and pagefile remaining.
So I suspect a leak exists in PS. I'd like to allocate more heap to see
if it will work around the issue.

When poking through the registry I discovered the SharedSection
of this key...:

HKLM\System\CurrentControlSet\Control\Session Manager\
SubSystems\Windows

....has four parameters: 1024,3072,512,512

I was able to locate the purpose of the first three parameters in
MS's tech database:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;184802
http://support.microsoft.com/default.aspx?scid=kb;en-us;126962
but I can't find any notes related to the 4th parameter. Does anyone
know its purpose?

Also, I've read that removing the Optional, Os2 & Posix keys in
Session Manager\SubSystems will free up memory/resources
(I'm not using any of them). Is this correct?

Thanks,
Rick
 
R

Rick

No idea, but a reply said it specifies the heap size for Terminal
Services sessions, which I'm not using.

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top