Meanwhile I came across the Sleak plugin myself
(http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-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:
- Do Colors, Images etc. correspond to one GDI handle each? Or more?
- 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,
Jörg.
Joerg von Frantzius schrieb:
Hi,
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
https://bugs.eclipse.org/bugs/show_bug.cgi?id=92250#c4
Is there any way of finding out how much memory currently is allocated
through SWT?
Thanks for any information,
Jörg
|