DISQUS

The Knight Knetwork: Windows Flakiness Solved: The Desktop Heap

  • JDM · 1 year ago
    This is exactly what was happening with my computer. It would get so bad that it was even occurring after I closed all other programs and only had a single explorer window open.

    I found the solution here:

    http://www.mikedopp.com/archive/2007/07/13/incr...

    Everything works just fine with the handle limit. But now some windows seem not update and I would need to Alt-Tab or mouse over parts of it to refresh. It might have something to do with the additional registry mods of the GDI process handle and user process handle limit that was suggested ini the above link.

    Are you experiencing any delay in windows re-drawing? If not, then maybe I need to look into those other reg edits.
  • Franklin · 1 year ago
    I did experience the same windows redraw issue. That was probably what annoyed me the most.
  • benpettit · 1 year ago
    Was this problem fixed with Vista? Just curious about that.
  • Jesse · 11 months ago
    This is exactly what I was looking for. I've had so much trouble finding it... By the way, that's quite a heap of desktops you have there.
  • Charles · 8 months ago
    Here is a good article I found that describes how Sessions, Desktop, and Windows Stations work.

    In particular, this maybe helpful to people experiencing this problem:

    "The portion of interest is "SharedSection=1024,3072,512". The three values under Shared Section determines how much memory in kilobytes (KB) is allocated to each component of the desktop heap. At this point, there is a major caveat here: Please do not modify these values on a whim. Changing the second or third value too high can put you in a no-boot situation due to the kernel not being able to allocate memory properly to even get Session 0 set up. Values up to about 8mb are generally safe, but may be pushing it, and frankly settings that high are not usually needed unless an installed program is misbehaving in the first place. We recommend raising these values in 512kb increments and only enough to alleviate whatever problem you are experiencing. "
  • Charles · 8 months ago
    Would help if I gave you the link to the article :-)

    http://blogs.technet.com/askperf/archive/2007/0...