Windows Develop Bookmark and Share   
 index > Windows Forms General > GDI handles leak
 

GDI handles leak

Hi,

We are experiencing quite interesting problem on one of our production PC (1 out of 500). .Net Framework 2.0 with the latest SP/Windows XP sp2.
4x monitors with 2x graphics card Matrox G450.
By some reason number of GDI handles constantly increasing and reach 10000 limit quite rapidly (scrolling, activating cell, refresh)
This is happening with any of our apps hosting Infragistics. It might be coincidence. Since Infragistictic guys have never heard of such issue and it has never happened on any other PCs (around 500 over the globe). Desk Support is also sure that graphic card is robust and they have not experienced any problem with it.
We tried to run GC explicitly (in case Infragistics did not use explicit disposing) with no luck.
All other apps (excel, java) run with no problem on user PC and there is no problem with rendering at all.
So bit stuck.

Would appreciate your valuable comments to the problem

Thank you,
Andrey


Andrey Gavrishev  Wednesday, March 26, 2008 11:38 AM

Hi Andrey,

Is there any difference between the problematic machine and other mahcines that don't have such a problem(e.gCPU, OS version, memory and etc)?

If you don't use the Infragistics in your application, does this problem still exist on the problematic machine?

Is it possible that other programs running on the problematic machine affect your application? You may have a try stopping other programs running on the machine to see if it helps.

Linda

Linda Liu  Friday, March 28, 2008 8:15 AM

You can use google to search for other answers

Custom Search

More Threads

• Native DLL
• ComboBox/TextBox selection color
• [treeview ] find node based on wildcard
• Threads and how it can or should be done
• Automatically setting wait cursor for application
• Reseting data binding in a form to new values from sql table
• How to set background color of dialog box using Win32 API
• Get Status details on SucessLogin from Webbrowser control
• Child form cannot be shown from separate child form
• MMC 3.0: ListView on Property Page does not show images of associated ImageList