Desktop heap bug.

Posted: 12-16-2005, 04:43 PM
If you look at this article:
http://support.microsoft.com/kb/184802/EN-US/
you'll see a description of a registry setting that can be used to adjust
the desktop heap sizes.

There is a field with 3 defined values,
SharedSection=1024,3072,512and all the XP Pro systems that I have examined
have that field. But, if I look at any XPe system the field has 4 values,
SharedSection=1024,3072,512,512and I can't find any definition of the fourth
value. I suspect that this is an XPe bug or feature. I'm thinking bug
because the third value is optional and XPe might be adding ',512' to the
end of the field assuming that the third value won't be present. I'm
thinking feature because these values define the shared, interactive, and
non-interactive desktop heap sizes, and maybe there is a fourth desktop heap
in XPe.

This is truely an arcane question, but maybe someone has the answer.
Certainly, adjusting the desktop heap sizes isn't an odd thing to do. There
are lots of articles describing how to do it. It was surprising, however,
to see the fourth field in the XPe registry. I'd like to find out what's
going on.

--
Regards.
Mark K Vallevand Mark.Vallevand@Unisys.com

Beer is living proof that God loves us and wants us to be happy.
- Benjamin Franklin


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.



Reply With Quote

Responses to "Desktop heap bug."

KM
Guest
Posts: n/a
 
Re: Desktop heap bug.
Posted: 12-23-2005, 11:12 PM
Mark,

I don't have the answer for you on whther it is a bug or a feature but a
while ago I have failed t ofind XP components in XPe repository that might
use more than 3 values of the SharedSection.

Second and third parameters are read and futher used by the NT server
service when and after it initializes the user subsystem (CSR stuff). No
forth value is ever read.

However, there is yet FBA which I never had a chance to explore on the
SharedSection subject. (although I know that the FBA on SP2 doesn't read the
value either)

KM
> If you look at this article:
> http://support.microsoft.com/kb/184802/EN-US/
> you'll see a description of a registry setting that can be used to adjust
> the desktop heap sizes.
>
> There is a field with 3 defined values,
> SharedSection=1024,3072,512and all the XP Pro systems that I have examined
> have that field. But, if I look at any XPe system the field has 4 values,
> SharedSection=1024,3072,512,512and I can't find any definition of the
> fourth value. I suspect that this is an XPe bug or feature. I'm thinking
> bug because the third value is optional and XPe might be adding ',512' to
> the end of the field assuming that the third value won't be present. I'm
> thinking feature because these values define the shared, interactive, and
> non-interactive desktop heap sizes, and maybe there is a fourth desktop
> heap in XPe.
>
> This is truely an arcane question, but maybe someone has the answer.
> Certainly, adjusting the desktop heap sizes isn't an odd thing to do.
> There are lots of articles describing how to do it. It was surprising,
> however, to see the fourth field in the XPe registry. I'd like to find
> out what's going on.
>
> --
> Regards.
> Mark K Vallevand Mark.Vallevand@Unisys.com
>
> Beer is living proof that God loves us and wants us to be happy.
> - Benjamin Franklin
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
>
>

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Heap Size Within Registry sendtoaj Windows XP Configuration & Management 0 03-09-2008 03:42 PM
Any way to disable Heap placement randomization (ASLR) for a singleexecutable? Paul Pluzhnikov Windows Vista Security 4 05-14-2007 05:43 PM
Heap questions - Low Frag Heap? RichK Windows XP Embedded 2 06-03-2005 06:13 PM
Debugger: !heap command does not work on a checked xp system marcsnews Windows XP Device Drivers 0 04-16-2004 11:03 AM
Thanks a Heap! Patty Windows XP Security & Administration 1 09-15-2003 07:18 PM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90