This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE Dev (Build 200802251204) Operating System = SunOS version 5.10 running on x86 Java; VM; Vendor = 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19; Sun Microsystems Inc. Tests report there is a memory leak of DesignView component, when all editor windows are closed there are several instances of DesignView in memory. Check URL for test results.
Created attachment 57284 [details] Memory leak information
Alexey, please look at this.
I see2 different "points" of memory leaks in provided dump: First looks like caused by http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4903084 I need to investigate this issue to see if any workaround exists, because original bug was closed with NOT_A_BUG status. And second goes thru xpath model. Nikita, please check the second one and then reassign bug to me to fix the first.
Alexey, I've fixed the part related to the XPath model. I changed an XPath model class only.
Ok, my recent investigations: Leak in XPath model was fixed by Nikita Leak with private static sun.awt.im.CompositionAreaHandler sun.awt.im.CompositionAreaHandler.compositionAreaOwner-> sun.awt.im.CompositionAreaHandler@1a32d08-clientComponent-> org.netbeans.modules.bpel.design.DesignView@1daa485 Is a AWT problem with status WILL_NOT_FIX, because this path will be released as soon as other component will get focus after closing design view. Leak in decorationComponents was fixed as a part of another bug. Closing this issue as fixed as soon as all listed leaks are removed.
Verified with NetBeans 6.1 FCS (Build 200804210003)