|Re: SWT/RCP and number of GDI handles [message #458904 is a reply to message #458656]
||Tue, 26 July 2005 02:42
Originally posted by: qauck.msn.com|
Don't know what OS you are using, but under Windows system, Brush, DC,
Pen, Palette, Region, all these are considered as GDI objects.
Joerg von Frantzius wrote:
> Meanwhile I came across the Sleak plugin myself
> ( http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#tools).
> For my running RCP application, it shows 99 Colors, Images, Cursors and
> Fonts. Procexp, on the other hand, reports 138 GDI handles for my
> process. Now I'd have two questions:
> 1. Do Colors, Images etc. correspond to one GDI handle each? Or more?
> 2. If they correspond to GDI handles, where does the difference of 39
> GDI handles come from? Is that maybe a basic number of GDI handles
> that SWT/RCP need to show a window?
> Thanks for any hints,
> Joerg von Frantzius schrieb:
>> I have a problem of process sizes getting out of control no matter
>> what -Xmx I put as VM arguments. I suspect that to be memory allocated
>> by SWT, as explained in
>> Is there any way of finding out how much memory currently is allocated
>> through SWT?
>> Thanks for any information,
Powered by FUDForum
. Page generated in 0.02074 seconds