Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » No more handles with gef
No more handles with gef [message #248101] Mon, 06 April 2009 13:34 Go to next message
pierre is currently offline pierreFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I caught the "no more handles exception" when I used the GEF framework.
With TPTP Monitoring I found that Part and Figure class handles were not
destroyed by the garbage collector and increased up to 10.000 handles.

Do I have to clean this myself or could GEF handle it ?

All of my images were disposed when they were no longer useful.

Thanks.
Re: No more handles with gef [message #248125 is a reply to message #248101] Tue, 07 April 2009 20:43 Go to previous message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
Typically the handles message is associated with OS native resources.
Draw2D does its drawing using a native GC but I am reasonably sure that
there is not one created for every figure.

It sounds like you know that images need to be disposed properly. Are
you leaking anything else, fonts or colors perhaps?

-Ben

Pierrot wrote:
> Hi,
>
> I caught the "no more handles exception" when I used the GEF framework.
> With TPTP Monitoring I found that Part and Figure class handles were not
> destroyed by the garbage collector and increased up to 10.000 handles.
>
> Do I have to clean this myself or could GEF handle it ?
>
> All of my images were disposed when they were no longer useful.
>
> Thanks.
>
Previous Topic:Problem with polyline connection
Next Topic:[Announce] GEF 3.5.0 I200904031502 is available
Goto Forum:
  


Current Time: Fri Apr 26 21:58:41 GMT 2024

Powered by FUDForum. Page generated in 0.02580 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top