The "Error creating window handle" exception and the Desktop Heap
Posted by: Fabrice's weblog,
on 07 Aug 2009 |
View original | Bookmarked: 0 time(s)
"Error creating window handle"
When a big Windows Forms application I'm working on for a client is used actively, users often get "Error creating window handle" exceptions.
Aside from the fact that the application consumes too much resources, which is a separate issue altogether that we are already addressing, we had difficulties with determining what resources were getting exhausted as well as what the limits are for these resources.We first thought about keeping an eye on the Handles counter...