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.
Summary: | Memory leak in org.openide.awt.ToolbarWithOverflow$2 | ||
---|---|---|---|
Product: | platform | Reporter: | Petr Cyhelsky <cyhelsky> |
Component: | Window System | Assignee: | Theofanis Oikonomou <theofanis> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | saubrecht |
Priority: | P1 | Keywords: | PERFORMANCE, REGRESSION |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Cyhelsky
2012-10-05 14:12:06 UTC
I tried to reproduce but in the created heap dump there were no instances of ToolbarWithOverflow. I could only spot instances of NbEditorToolBar and also NbEditorDocuments. It does not seem to be a problem with ToolbarWithOverflow. Could you please also provide your heap dump so I could further investigate? Thank you You have to look for ToolbarWithOverflow$2 !! there should be same number of ToolbarWithOverflow$2 as ToolbarWithOverflow + all its subclasses the heapdump is at http://netbeans.org/projects/performance/downloads/download/heapdumps/heapdump-219603.hprof.zip The heap dump is taken from ide with no open documents or projects and is taken after numerous full GCs and waits, so there should be no instances of NbEditorDocument there are 7 and all are held via ToolbarWithOverflow$2. This needs to be fixed ASAP because it also blocks further memory leak testing. Thank you for the heap dump. Fixed: http://hg.netbeans.org/core-main/rev/755387040f80 patch works fine - verified Integrated into 'main-golden', will be available in build *201210090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/755387040f80 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Issue #219603 - Memory leak in org.openide.awt.ToolbarWithOverflow$2 |