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.

Bug 36532

Summary: Memory Leak in the TreeView
Product: platform Reporter: Tomas Zezula <tzezula>
Component: ExplorerAssignee: Petr Hrebejk <phrebejk>
Status: CLOSED FIXED    
Severity: blocker CC: jglick, jrechtacek, rkubacki, ttran
Priority: P1 Keywords: PERFORMANCE
Version: 3.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Patch
Fixes both usages

Description Tomas Zezula 2003-10-10 10:13:33 UTC
Insane output:
java.lang.SecurityManager.rootGroup->
java.lang.ThreadGroup@21->
[Ljava.lang.Thread;@184->
java.lang.Thread@31e->
sun.awt.motif.MToolkit$2@598->
sun.awt.motif.MToolkit@905->
java.awt.Toolkit$ToolkitEventMulticaster@d16->
java.awt.Toolkit$SelectiveAWTEventListener@13ed->
org.netbeans.core.windows.frames.SplitContainerImpl@1ec6->
org.netbeans.core.windows.WindowManagerImpl@3409->
org.netbeans.modules.projects.ide.ui.workplace.WorkplaceTab@4ba1->
org.openide.explorer.view.BeanTreeView@5f51->
org.openide.explorer.view.TreeView$TreePropertyListener@6f61->
org.openide.util.RequestProcessor$Task@843e->
org.openide.explorer.view.TreeView$5@a1cd->
javax.swing.tree.TreePath@c2f8->
javax.swing.tree.TreePath@e48e->
javax.swing.tree.TreePath@10acc->
org.openide.explorer.view.VisualizerNode@1312e->
org.netbeans.api.nodes2looks.LookNode@152fb->
org.netbeans.api.nodes2looks.LookNode$FirerImpl@17e13->
org.netbeans.modules.projects.ide.ui.logicalview.LogicalView$SourcesMarkClass@1a873->
org.netbeans.api.projects.Project@17e85
Comment 1 Tomas Zezula 2003-10-10 10:25:59 UTC
Created attachment 11831 [details]
Patch
Comment 2 Tomas Zezula 2003-10-14 12:23:02 UTC
Created attachment 11851 [details]
Fixes both usages
Comment 3 Petr Hrebejk 2003-10-15 12:18:29 UTC
There could be better fix which would clean the task. But this seems to
be clean so let's fix it with the patch for now.
Comment 4 Jesse Glick 2003-10-15 17:20:50 UTC
BTW I will be patching TreeView differently in nodes_eq_35833 to not
use RequestProcessor for the tree expansion, but probably
javax.swing.Timer; I will try to retain the intent of phrebejk's patch.
Comment 5 Jesse Glick 2003-10-15 17:21:09 UTC
Target milestone!
Comment 6 Marian Mirilovic 2004-02-24 07:53:11 UTC
verified - closed (projects are dead )