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 245980 - Memory leak in ClassMemberPanelUI$MyBeanTreeView
Summary: Memory leak in ClassMemberPanelUI$MyBeanTreeView
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 8.0.1
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-25 08:01 UTC by Marek Fukala
Modified: 2014-08-02 05:07 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 Marek Fukala 2014-07-25 08:01:39 UTC
Please take a look at the following heap dump

http://statistics.netbeans.org/exceptions/exception.do?id=720692

extracted from issue 

https://netbeans.org/bugzilla/show_bug.cgi?id=244697

The ClassMemberPanelUI$MyBeanTreeView (the navigator) holds 262k of items (VisualizerNode) which then holds the ElementScanningTask$RootStructureItem which holds tremendous amount of CSS' and JS' StructureItems. 

This seems to be a bug in the CLS's navigator implementation.

Please evaluate. Thank you.
Comment 1 Milutin Kristofic 2014-08-01 11:35:31 UTC
I remove static functionality from ClassMemberPanelUI$MyBeanTreeView. so the GC can remove it after it is not referenced. 

http://hg.netbeans.org/jet-main/rev/662a636dfc65
Comment 2 Quality Engineering 2014-08-02 05:07:41 UTC
Integrated into 'main-silver', will be available in build *201408020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/662a636dfc65
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #245980 - Memory leak in ClassMemberPanelUI