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 232629 - Memory leak in org.netbeans.modules.project.ui.actions.ActiveConfigAction
Summary: Memory leak in org.netbeans.modules.project.ui.actions.ActiveConfigAction
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.4
Hardware: PC Linux
: P4 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-07-12 14:47 UTC by Petr Cyhelsky
Modified: 2016-07-07 08:38 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 Cyhelsky 2013-07-12 14:47:07 UTC
It seems that the menu and submenu Run|Set Project Configuration holds the project instance
The heap dump is available at:
https://netbeans.org/projects/performance/downloads/download/heapdumps/Memleak_config.hprof.7z

please take a look at the only instance of org.netbeans.modules.java.j2seproject.J2SEProject
Comment 1 Milos Kleint 2013-07-16 09:51:53 UTC
the action updates in async manner and I'm sure the main menu would clear the reference when the menu would have time to update (which only happens at time of showing the menu)

I've experimentally verified that when main menu is shown after closing the project, the new heap dump no longer shows the main menu as the nearest GC root (but something else is shown)
Comment 2 Martin Balin 2016-07-07 08:38:01 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss