[quote=Pierre_Admin]
Regarding the GDI issue, how many grids do you have opened ? The Icons folder contains how many icon files ? Reducing this has a direct effect on the GDI handles used...
[/quote] I'm creating a separate thread to discuss GDI usage in IQ. It's been mentioned in a few places, but I thought a dedicated thread would be better to talk just about it.
As background, I am finding that IQ is using a lot of GDI handles. It starts with around 1500, but get up to 4000 and even higher. This means its using over a third of the GDI handles that Windows XP supports by default (10000).
My other big big GDI hog is Firefox, which can use 1000-4000 itself. Between the two of them I can run out of GDI really quickly, which results in redraw issues across all applications (as described in possible display memory conflict).
Each grid I open adds around 250 handles and closing the grid seems to give most if not all of them back. But overtime IQ seems to grab more. I will capture more here if I see how else it seems to grow.
I have 70 icons in my icons directory, I thought I had less but more probably were added when I did my last IQ upgrade. I may look at reducing that.
In terms of what the GDI handles are, here is a dump from GDIView:
All GDI : 2104
Pen : 23
ExtPen : 0
Brush : 74
Bitmap : 1040
Font : 301
Palette : 4
Region : 6
DC : 81
Metafile DC : 0
Enhanced metafile DC: 0
Other GDI : 0
GDI Total : 1529
Pen : 23
ExtPen : 0
Brush : 74
Bitmap : 1040
Font : 301
Palette : 4
Region : 6
DC : 81
Metafile DC : 0
Enhanced metafile DC: 0
Other GDI : 0
GDI Total : 1529
For folks who are interested in measuring this themselves, the two tools I recommend are Process Explorer (http://technet.microsoft.com/en-us/sysinternals/bb896653) which everyone using Windows really should have and a GDI-specific tool called GDIView (http://www.nirsoft.net/utils/gdi_handles.html) from the great NirSoft.
Also, here are some related threads/comments on GDI:
http://www.sqlnotes.net/drupal5/index.php?q=node/2365#comment-10767
Comments