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 99299

Summary: Memory leak in outline panel
Product: obsolete Reporter: Quy Nguyen <quynguyen>
Component: visualwebAssignee: Peter Zavadsky <pzavadsky>
Status: VERIFIED FIXED    
Severity: blocker CC: issues
Priority: P2 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 94280    

Description Quy Nguyen 2007-03-28 20:03:56 UTC
The OutlinePanel is the source of a memory leak in the
OutlinePanel$OutlineRootChildren.rootDesignBean field.  This causes insync
structures to remain in memory after a project is closed.

To reproduce:

1) Create a project with the visual web framework
2) Close the Page1 window without changing tabs
3) Close the project
4) The rootDesignBean field is not set to null.
Comment 1 Peter Zavadsky 2007-03-28 21:06:44 UTC
Fixed. Removed the tree from the outline when it is deactivated.

Checking in
visualweb/outline/src/org/netbeans/modules/visualweb/outline/OutlinePanelProvider.java;
/cvs/visualweb/outline/src/org/netbeans/modules/visualweb/outline/OutlinePanelProvider.java,v
 <--  OutlinePanelProvider.java
new revision: 1.3; previous revision: 1.2
done
Comment 2 Quy Nguyen 2007-03-28 21:38:46 UTC
Verified.