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 104333 - JsfJspDataNode causes memory leak in JsfProjectUtils
Summary: JsfJspDataNode causes memory leak in JsfProjectUtils
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Quy Nguyen
URL:
Keywords: PERFORMANCE
Depends on: 104329
Blocks:
  Show dependency tree
 
Reported: 2007-05-18 23:57 UTC by Quy Nguyen
Modified: 2007-05-29 23:25 UTC (History)
0 users

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-05-18 23:57:32 UTC
The constructor for JsfJspDataNode calls
jsfProjectUtils.JsfProjectUtils.addProjectPropertyListener(), but no
corresponding removeProjectPropertyListener() call is made when the page or
project are closed due to the node's destroy() method not being invoked.

This causes a memory leak that is proportional to the number of vw pages created
in the IDE.
Comment 1 Quy Nguyen 2007-05-29 23:25:30 UTC
Since JsfProjectUtils changed to a WeakHashMap implementation for the listener
set, this should no longer be an issue.