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 - Memory leak in outline panel
Summary: Memory leak in outline panel
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 94280
  Show dependency tree
 
Reported: 2007-03-28 20:03 UTC by Quy Nguyen
Modified: 2007-03-29 17:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.