From: | "Zac Bowling" <contractor92(at)match(dot)com> |
---|---|
To: | "Zac Bowling" <zac(at)zacbowling(dot)com> |
Cc: | <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: Excessive GDI objects under WIN32 |
Date: | 2006-02-13 16:07:03 |
Message-ID: | 901B0BA96632C547A4B81712C090EDEC03A9E58D@DA0ITMC101.match.corp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 more then it seems nessiary. Visual Studio 2005 with over 30 tabs only requires 820 and it took me 31 IE windows with nothing but flash and tons of form objects to get up to barely get to 1000. I can max out the 10,000 max pretty quick (even though you can increase the max in the registry it causes strange things to happen.) I'm not sure if its purely inside wxWidgets 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(at)zacbowling(dot)com
-----Original Message-----
From: pgadmin-support-owner(at)postgresql(dot)org [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of Andreas Pflug
Sent: Monday, February 13, 2006 3:17 AM
To: Zac Bowling
Cc: pgadmin-support(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Zac Bowling | 2006-02-13 16:58:31 | Re: Excessive GDI objects under WIN32 |
Previous Message | Dave Page | 2006-02-13 13:39:34 | Re: adminpack For pgAdmin3 Install Woes |