Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Albireo » Memory leak
Memory leak [message #575122] Mon, 25 May 2009 07:43
Reto Urfer is currently offline Reto UrferFriend
Messages: 8
Registered: July 2009
Junior Member

I am using SwingControl on a page of a multi page editor in a RCP
application. I noticed that the Control derived from SwingControl is NOT
garbage collected. The result is that the user has to stop the application
after a certain time because it consumes to much memory. I reported already
a bug ( but got no

I could find two problems in the implementation of SwingControl:
1. The method handleDispose is missing the code
2. The method addRootPaneContainer contains the line
This line contains the reason why the the instance of MySwingComposite
not be garbage collected. Unfortunately i was not able to find a fix for
problem yet. (I commented this line temporarily out and then, together with
change in the handleDispose method the garbage collector was able to remove
instance of MySwingComposite from the heap!)

Anybody an idea why the frame can not be garbage collected as soon as the
applet has been added to it?

Previous Topic:Memory leak
Next Topic:JComboBox Focus Problem
Goto Forum:

Current Time: Thu Nov 15 20:35:35 GMT 2018

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

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

Back to the top