Re: Excessive GDI objects under WIN32 - Mailing list pgadmin-support

From Zac Bowling
Subject Re: Excessive GDI objects under WIN32
Date
Msg-id 901B0BA96632C547A4B81712C090EDEC03A9E58D@DA0ITMC101.match.corp
Whole thread Raw
In response to Excessive GDI objects under WIN32  (Zac Bowling <zac@zacbowling.com>)
Responses Re: Excessive GDI objects under WIN32
List pgadmin-support
Yeah,
I'm debating that it needs GDI objects. Everything with a GUI needs a few, but 1029 GDI objects for 4 windows is a lot
morethen it seems nessiary. Visual Studio 2005 with over 30 tabs only requires 820 and it took me 31 IE windows with
nothingbut flash and tons of form objects to get up to barely get to 1000. I can max out the 10,000 max pretty quick
(eventhough you can increase the max in the registry it causes strange things to happen.) I'm not sure if its purely
insidewxWidgets or its something unique to pgAdmin or not though. 


Zac Bowling

Applications Engineer, Email Systems (Contractor)
Match.com International

desk:  214-576-3228
home:  972-437-6272
mobile: 1-469-667-0395
msn: zac@zacbowling.com

-----Original Message-----
From: pgadmin-support-owner@postgresql.org [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Andreas Pflug
Sent: Monday, February 13, 2006 3:17 AM
To: Zac Bowling
Cc: pgadmin-support@postgresql.org
Subject: Re: [pgadmin-support] Excessive GDI objects under WIN32

Zac Bowling wrote:
> This maybe wxWidgets fault but pgadmin sure is using a lot of GDI
> objects. It releases them ok when you close different windows but it
> seems to allocating way more then would seem necessary. I do a lot of
> postgres related development at work and I have to setup pgadmin on a
> lot of slower windows machines, and those GDI objects are very
> precious to me. With only 5 windows open, its possible to run almost
> completely out. Visual Studio is another beast but not as bad as
> pgadmin with 4 windows open. Any clue where and when in wxwidgets (I'm
> more of gtk and cocoa developer so I don't know) those GDI objects get
> allocated and if anyone knows if this is related more to wxWidgets
> (maybe something I could rebuild myself with a different backend or
> something) or the code in general?

pgAdmin needs those. If you're short of GDI objects, you must be running
win98 or so.

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster


pgadmin-support by date:

Previous
From: "Dave Page"
Date:
Subject: Re: adminpack For pgAdmin3 Install Woes
Next
From: "Zac Bowling"
Date:
Subject: Re: Excessive GDI objects under WIN32