Community
Participate
Working Groups
Build Identifier: org.eclipse.ui.views (3.5.1.M20110202-0800) The component org.eclipse.ui.views.properties.PropertySheet always keeps a refrence to the last part in its member "currentPart". Thus, even if all editors are closed, a reference is still kept and the gc cannot clean up the edior element (which is quite big in my case). Eclipse Memory Analyzer (MAT) shows, that "currentPart" references the editor instance, even if the editor is closed. My suggestion would be, to reset the member "currentPart" in partClosed(...) method if the closed part.equals(currentPart). Reproducible: Always
Fixed in master: ecf1d9169f92decb1da00e36ba20bb6561887169
(In reply to comment #1) > Fixed in master: ecf1d9169f92decb1da00e36ba20bb6561887169 Actually that's the R3_development commit. 'master' fix is: a4f48217d6c3eecbc2eb99b01f3637096c179f69
(In reply to comment #2) > (In reply to comment #1) > > Fixed in master: ecf1d9169f92decb1da00e36ba20bb6561887169 > Actually that's the R3_development commit. > > 'master' fix is: a4f48217d6c3eecbc2eb99b01f3637096c179f69 sorry, but what does that mean?
(In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > Fixed in master: ecf1d9169f92decb1da00e36ba20bb6561887169 > > Actually that's the R3_development commit. > > > > 'master' fix is: a4f48217d6c3eecbc2eb99b01f3637096c179f69 > > sorry, but what does that mean? The fix was only in the Eclipse 3.x stream. Now it is in both the 3.x and 4.x stream.
(In reply to comment #3) > > 'master' fix is: a4f48217d6c3eecbc2eb99b01f3637096c179f69 > > sorry, but what does that mean? http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=a4f48217d6c3eecbc2eb99b01f3637096c179f69 That's the commit that fixed it. PW