<?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>"That looks like a GDI leak"</title><link>http://blogs.msdn.com/jonathanh/archive/2004/07/18/187040.aspx</link><description>After reading KC Lemson's blog entry about her system slowing down due to wisptis.exe leaking GDI objects , I fired up Task Manager and started poking around (click View, Select Columns, and then add "GDI Objects" to follow along). Outlook and my web</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: “That looks like a GDI leak”</title><link>http://blogs.msdn.com/jonathanh/archive/2004/07/18/187040.aspx#187086</link><pubDate>Mon, 19 Jul 2004 06:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:187086</guid><dc:creator>Drazen Dotlic</dc:creator><description>This has to be the worst leak I have ever seen :))) One would think that utilities from big manufacturers like Toshiba, especially for laptops (who have traditionally had less memory than desktops) get tested at least a little bit before shipping...</description></item><item><title>re: “That looks like a GDI leak”</title><link>http://blogs.msdn.com/jonathanh/archive/2004/07/18/187040.aspx#187627</link><pubDate>Mon, 19 Jul 2004 17:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:187627</guid><dc:creator>Omar Shahine</dc:creator><description>I don't seem to have this utility on my tosh, but I removed a bunch of crap. I do have the powermanagement stuff installed though.</description></item><item><title>re: “That looks like a GDI leak”</title><link>http://blogs.msdn.com/jonathanh/archive/2004/07/18/187040.aspx#187725</link><pubDate>Mon, 19 Jul 2004 18:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:187725</guid><dc:creator>Jonathan Hardwick [MSFT]</dc:creator><description>Yeah, I'm amazed this one got past testing - it's not like you even need any special tools to spot the leak, just fire up Task Manager and watch the numbers grow! The good news is that you can still use the &amp;quot;Toshiba Console&amp;quot; to control power management. &lt;br&gt;&lt;br&gt;Omar, you can probably find it in c:\windows\system32\tpwrtray.exe if you want to experiment with DOS attacks :-)</description></item><item><title>re: “That looks like a GDI leak”</title><link>http://blogs.msdn.com/jonathanh/archive/2004/07/18/187040.aspx#187794</link><pubDate>Mon, 19 Jul 2004 20:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:187794</guid><dc:creator>James Hancock</dc:creator><description>Why, in the age of Windows XP, would you ever have those stupid power management applicaitons installed?&lt;br&gt;&lt;br&gt;You can do all of the stuff that they do using Windows' own screens and man, they're hogs.  IBM's is horrible too.</description></item><item><title>re: "That looks like a GDI leak"</title><link>http://blogs.msdn.com/jonathanh/archive/2004/07/18/187040.aspx#188290</link><pubDate>Tue, 20 Jul 2004 03:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:188290</guid><dc:creator>Jonathan Hardwick [MSFT]</dc:creator><description>The vendor apps give you a much finer granularity of control than does XP's power management stuff - see e.g. &lt;a target="_new" href="http://blogs.msdn.com/jonathanh/archive/2004/03/20/93259.aspx"&gt;http://blogs.msdn.com/jonathanh/archive/2004/03/20/93259.aspx&lt;/a&gt;. But I'm in total agreement on the hog front!</description></item><item><title>re: &amp;quot;That looks like a GDI leak&amp;quot;</title><link>http://blogs.msdn.com/jonathanh/archive/2004/07/18/187040.aspx#416221</link><pubDate>Wed, 11 May 2005 03:35:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:416221</guid><dc:creator>rakslice</dc:creator><description>In the past few weeks, sometimes when my XP box has been up for a while, it seems to suffer GDI-related strangeness.&lt;br&gt;&lt;br&gt;Windows widgets fail to draw or function properly (pull down &amp;amp; context menus don't appear except for the item my cursor is over, the wrong icons start appearing in explorer as if already-loaded ones are being reused, etc.).  Newly-opened applications sometimes won't open some of their subwindows &amp;amp; toolbars, or sometimes just die immediately, sometimes with just a beep.  Only part of the (few) error messages I do get obliquely point at problems with GDI objects (brushes, palettes, etc.) but all of them seem rare -- i.e. not well_sanitized for the non-developer public -- such as the 'Value creation failed &amp;quot; at line 903' I just got from the Welcome screen when this was happening a few minutes ago. Which isn't the wierdest -- sometimes I come back to my locked system and the Welcome screen is inexplicably replaced with the non-fast-user-switching locked system login prompt, even though the setting isn't changed.&lt;br&gt;&lt;br&gt;The best-sanitized error messages I've gotten when this was happening are from Adobe Photoshop.  That's ironic considering how badly behaved Acrobat is, but I guess the people at Adobe really know what side their bread is buttered on. =)&lt;br&gt;&lt;br&gt;Normally I can close a couple of open programs, and the next few things I open work fine, but the problem quickly returns.  Rebooting the system makes it go away for much longer.&lt;br&gt;&lt;br&gt;When this was happening a few minutes ago, the prog with the most GDI handles had about 1700 -- Winamp 5 with the stock &amp;quot;Winamp Modern&amp;quot; skin.  (It uses about 1400 at launch.)  Next were wisptis.exe with 700 and explorer.exe with 500, which is about right considering my 8 day uptime. &lt;br&gt;&lt;br&gt;Still, that doesn't seem like a lot if they're only limited by available memory (taskman shows 620000K physical available) and a 32-bit handle numbering space.  And it doesn't seem like any running app is actively leaking a lot of them.  So is there some other limitation I don't know about?&lt;br&gt;&lt;br&gt;-AT</description></item><item><title>re: &amp;quot;That looks like a GDI leak&amp;quot;</title><link>http://blogs.msdn.com/jonathanh/archive/2004/07/18/187040.aspx#416253</link><pubDate>Wed, 11 May 2005 05:15:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:416253</guid><dc:creator>jonathanh</dc:creator><description>My first reaction would be to run a thorough check for adware and malware - if this just started happening a few weeks ago, something's definitely not right.</description></item><item><title>re: "That looks like a GDI leak"</title><link>http://blogs.msdn.com/jonathanh/archive/2004/07/18/187040.aspx#4517115</link><pubDate>Thu, 23 Aug 2007 02:58:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4517115</guid><dc:creator>rakslice</dc:creator><description>&lt;p&gt;I think the behaviour I described above was the result of hitting the desktop heap limit on my windows logon session.&lt;/p&gt;
&lt;p&gt;I have a hunch that people experiencing the same problem will find this page.&lt;/p&gt;
&lt;p&gt;The size limit can be raised from the default limit of 3072kB. &lt;/p&gt;
&lt;p&gt;See:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.techarp.com/showarticle.aspx?artno=238&amp;amp;pgno=1"&gt;http://www.techarp.com/showarticle.aspx?artno=238&amp;amp;pgno=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;More info at:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/tonyschr/archive/2005/05/25/desktop-heap-limitations.aspx"&gt;http://blogs.msdn.com/tonyschr/archive/2005/05/25/desktop-heap-limitations.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: "That looks like a GDI leak"</title><link>http://blogs.msdn.com/jonathanh/archive/2004/07/18/187040.aspx#6893143</link><pubDate>Sat, 29 Dec 2007 08:51:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6893143</guid><dc:creator>Eric</dc:creator><description>&lt;p&gt;Wow, rakslice, did you really come back and comment on your post, 2 years later? Nice. :D&lt;/p&gt;
&lt;p&gt;I've been having this exact same problem that you described ever since upgrading to a multi-monitor system. &amp;nbsp;The symptoms indicated on the pages that you mention though are definitely not the symptoms that you were talking about, or that I'm getting. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Not sure if I should mess with this desktop heap, as I just had that problem a few minutes ago, but the dheapmon thing that I got there only showed 25% usage...&lt;/p&gt;</description></item></channel></rss>