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 106437 - WebProject memory leak in ProjectBuiltQuery$StatusImpl
Summary: WebProject memory leak in ProjectBuiltQuery$StatusImpl
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 105078
  Show dependency tree
 
Reported: 2007-06-12 23:07 UTC by Quy Nguyen
Modified: 2007-06-13 19:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snapshot of NB Profiler heap viewer (80.94 KB, image/jpeg)
2007-06-12 23:07 UTC, Quy Nguyen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quy Nguyen 2007-06-12 23:07:18 UTC
ProjectBuiltQuery$StatusImpl causes a WebProject memory leak since it does not deregister itself as a listener when the
project is closed.  To reproduce:

1) Create a new Visual Web project
2) Close the project

The StatusImpl object (and therefore the WebProject object) is still in memory and is being held by the filesystem
object as a listener.
Comment 1 Quy Nguyen 2007-06-12 23:07:55 UTC
Created attachment 43578 [details]
snapshot of NB Profiler heap viewer
Comment 2 _ sandipchitale 2007-06-13 19:23:27 UTC
Fixed:

Checking in ProjectBuiltQuery.java;
/cvs/visualweb/insync/src/org/netbeans/modules/visualweb/insync/models/ProjectBuiltQuery.java,v  <--  
ProjectBuiltQuery.java
new revision: 1.3; previous revision: 1.2
done
Comment 3 _ sandipchitale 2007-06-13 19:24:32 UTC
Fixed Summary.