<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Desktop Heap Overview</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx</link><description>Desktop heap is probably not something that you spend a lot of time thinking about, which is a good thing. However, from time to time you may run into an issue that is caused by desktop heap exhaustion, and then it helps to know about this resource. Let</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Desktop Heap Overview</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx#10413518</link><pubDate>Wed, 24 Apr 2013 01:43:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10413518</guid><dc:creator>gnolkha</dc:creator><description>&lt;p&gt;Does someone know of a tool that will visually present raw data structures, for example in windbg ? And you should be able to search some keywords say DPC or interrupt and it should list all the hits on those.&lt;/p&gt;
&lt;p&gt;[I&amp;#39;m not sure how this question relates to desktop heap.&amp;nbsp; The x and dt commands accept wildcards.&amp;nbsp; For example you can run &amp;quot;dt nt!*DPC*&amp;quot; to find functions and structures that include the string DPC.]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10413518" width="1" height="1"&gt;</description></item><item><title>re: Desktop Heap Overview</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx#10344939</link><pubDate>Thu, 30 Aug 2012 10:02:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10344939</guid><dc:creator>Miroslav Reisinger</dc:creator><description>&lt;p&gt;Hi guys, is there any official way how to check desktop heap utilization on Win2k8 and above except running !dskheap? What we did is that we captured complete memory dump but the !dskheap extension seems to be not working. I&amp;#39;m getting output like this (x64 W2k8 SP2, Win32k.sys desktop heap events logged in the system event log):&lt;/p&gt;
&lt;p&gt;!dskheap&lt;/p&gt;
&lt;p&gt;Error Reading rpdeskList from WINDOWSTATION @ fffffa800f1e9f60&lt;/p&gt;
&lt;p&gt;Failed counting Desktops for Winsta @fffffa800f1e9f60&lt;/p&gt;
&lt;p&gt;EnumDsktps failed on Winsta: &amp;nbsp;f1e9f60FillWinstaArray failed&lt;/p&gt;
&lt;p&gt;I have experienced this extension to fail many times in the past on different complete memory dumps from various OS versions. I have also tried older version of windbg/kd but it did not helped. Is there something that has to be enabled on the OS level on the system where you are suspecting desktop heap exhaustion or is it just a debugger bug?&lt;/p&gt;
&lt;p&gt;[Either the information the extension needs is paged out, or you are not in the context of a process that has session space.&amp;nbsp; Find a process in the session where you suspect desktop heap is exhausted (!process 0 0), and change the debugger context&amp;nbsp;to that process (.process /p /r ProcessAddress).&amp;nbsp;&amp;nbsp;If this doesn&amp;#39;t work, is the memory at fffffa800f1e9f60 valid? (dq, !pte)]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10344939" width="1" height="1"&gt;</description></item><item><title>re: Desktop Heap Overview</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx#10343456</link><pubDate>Sat, 25 Aug 2012 04:48:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10343456</guid><dc:creator>Bollimuntha </dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your explanation is excellent. You defined our problem in last but not suggested any solution. Can you please provide solution.&lt;/p&gt;
&lt;p&gt;If the services all run under another user account which logs on multiples times, each time acquiring a new LUID, there will be a new desktop heap created for every instance of the service, and session view space will eventually become exhausted.&lt;/p&gt;
&lt;p&gt;[The article suggests that such services may be poorly designed. You may be able to tune the size of each heap by modifying the SharedSection values.]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10343456" width="1" height="1"&gt;</description></item><item><title>re: Desktop Heap Overview</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx#10240724</link><pubDate>Wed, 23 Nov 2011 08:55:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10240724</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Is there a possibility of describing how this works under Vista, and providing a Vista-compatible version of dheapmon?&lt;/p&gt;
&lt;p&gt;I often have up to 20 IE tabs open on Vista, and with a few other applications (eg Outlook, Excel, Word), I seem to be hitting some resource limit, as new windows often fail to be created (unless I close some old ones).&lt;/p&gt;
&lt;p&gt;[Thomas, thank you for your interest in this article.&amp;nbsp; Unfortunately we do not have a publicly available version of dheapmon for Windows Vista.&amp;nbsp; Most load based resource exhaustion issues are eliminated by using x64, this is the solution that most customers have adopted.]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10240724" width="1" height="1"&gt;</description></item><item><title>re: Desktop Heap Overview</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx#10240721</link><pubDate>Wed, 23 Nov 2011 08:52:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10240721</guid><dc:creator>test</dc:creator><description>&lt;p&gt;his was a great primer on a part of Windows memory management that is seldom covered. Thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10240721" width="1" height="1"&gt;</description></item><item><title>Could not find file ‘C:\WINDOWS\TEMP\..dll’</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx#9555033</link><pubDate>Sat, 18 Apr 2009 16:35:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9555033</guid><dc:creator>Elementary, my dear Dr. Watson</dc:creator><description>&lt;p&gt;Sometimes customers open technical support cases because of this (apparently simple) issue: “System.Web.Services.&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9555033" width="1" height="1"&gt;</description></item><item><title>PGES-Windows NT Debugging Blog Live Chat (March 17, 2009)</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx#9520479</link><pubDate>Tue, 31 Mar 2009 00:52:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9520479</guid><dc:creator>Ntdebugging Blog</dc:creator><description>&lt;p&gt;We’d like the thank everyone who attended the Windows NT Debugging Blog Live Chat two weeks ago. Here&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9520479" width="1" height="1"&gt;</description></item><item><title>PGES-Windows NT Debugging Blog Live Chat (March 17, 2009)</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx#9520478</link><pubDate>Tue, 31 Mar 2009 00:52:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9520478</guid><dc:creator>Ntdebugging Blog</dc:creator><description>&lt;p&gt;We’d like the thank everyone who attended the Windows NT Debugging Blog Live Chat two weeks ago. Here&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9520478" width="1" height="1"&gt;</description></item><item><title>re: Desktop Heap Overview</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx#9167952</link><pubDate>Wed, 03 Dec 2008 06:13:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9167952</guid><dc:creator>lorraine</dc:creator><description>&lt;p&gt;not sure if this is my problem. &amp;nbsp;in vista home basic in ie after games i get 'out of memory line 19' &amp;nbsp;or the number will change to a 4 digit . &amp;nbsp;clicking ok usually makes it go but next thing i do it comes back. &amp;nbsp;sometimes 2 or more before it quits????? &amp;nbsp;any suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9167952" width="1" height="1"&gt;</description></item><item><title>Heap exhaustion symptoms, but heap not exhausted</title><link>http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx#9144407</link><pubDate>Wed, 26 Nov 2008 17:14:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9144407</guid><dc:creator>Marek Vokac</dc:creator><description>&lt;p&gt;Hi, I too found this a great article. My pet mystery is this: On a 2003 Server running a database replication app (interactive, not service), I get symptoms of heap exhaustion. &lt;/p&gt;
&lt;p&gt;Like - windows not repainted properly, fonts missing, tray icons floating all over the place. The app itself crashed and the eventlog contains one event - &amp;quot;Fatal Application Exit : System Object not created&amp;quot;. The exhaustion problems persist until I log off and create a new TS session. &lt;/p&gt;
&lt;p&gt;But: dheapmon shows a maximum level of 13.5% usage on that interactive desktop. When freshly started, it's at 4-5%, and it rises slowly, so it would seem that something is leaking. But crash at 13% ? &amp;nbsp; and, neither Task Manager nor any other tool I've found shows any leaks (USER object, GDI, Page Pool, nonpaged, Virtual memory, you name it).&lt;/p&gt;
&lt;p&gt;Do you have any ideas at all? &amp;nbsp;Are there other explanations besides desktop heap exhaustion that would fit the symptoms?&lt;/p&gt;
&lt;p&gt;best regards,&lt;/p&gt;
&lt;p&gt;Marek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9144407" width="1" height="1"&gt;</description></item></channel></rss>