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 185504 - Memory leak in TreePathSupport
Summary: Memory leak in TreePathSupport
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks: 182064
  Show dependency tree
 
Reported: 2010-05-05 11:50 UTC by Martin Entlicher
Modified: 2010-05-05 14:55 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 Martin Entlicher 2010-05-05 11:50:51 UTC
org.netbeans.swing.outline.TreePathSupport caches expanded paths. The paths do not seem to be cleared and cause proliferation of node objects, which are held in memory through the paths.
After the fix of issue #179435 the expanded path are used just for getExpandedDescendants(), which should be rewritten not to require the cached paths.
Comment 1 Martin Entlicher 2010-05-05 14:54:28 UTC
Fixed in changeset:   169884:7f69ed7f3c73.
http://hg.netbeans.org/main/rev/7f69ed7f3c73