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 20125 - Memory leak in PropertySheet
Summary: Memory leak in PropertySheet
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: David Strupl
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2002-02-04 16:34 UTC by Petr Nejedly
Modified: 2008-12-22 17:32 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 Petr Nejedly 2002-02-04 16:34:56 UTC
There is WeakHashMap propertysheet.PropertyPanel.envCache.
This map never releases its items because the value indirectly strongly
references the key:
value(PropertyEnv)->support(VetoableChangeSupport)->listeners(Vector)->elementData(Object[])->PropertyPanel$1->this$0(PropertyPanel)->editor(*Editor)=key

This causes cumulation of PropertyPanels, NamePanels and other kind
of components in the IDE.
Comment 1 Petr Nejedly 2002-02-04 16:37:31 UTC
Assigning to David
Comment 2 David Strupl 2002-02-04 16:42:58 UTC
Adding the envCache was not lucky. Alas! Finding a way how to resolve it.
Comment 3 David Strupl 2002-02-05 08:25:37 UTC
Fixed in PropertyPanel 1.97. (in the main trunk).
Comment 4 Petr Nejedly 2002-02-05 10:57:12 UTC
Great, it is OK now (1xPropertySheetTab, 2xNamesPanel, 2xPropertyPanel
on my heap)
Comment 5 Quality Engineering 2003-07-01 16:20:21 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.