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.
...through progress bar. Mac OS X specific. Maybe specific to 1.6 b31.
Heap dump is available at <http://netbeans.org/projects/profiler/downloads/download/Heapdumps/headump-220157.zip>
The problem is that ParametersPanel.stop() is not invoked. The sequence of events is: 1) ParametersPanel is added as progress listener via addProgressListener 2) ParametersPanel.start() is invoked 3) ParametersPanel is removed as progress listener via removeProgressListener 4) ParametersPanel.stop() is not invoked because of 3). The problem is probably caused by asynchronous invocation of Refactoring.prepare(), which fires progressListenerStart - see 2).
Created attachment 126056 [details] Quick patch I am attaching quick patch, which solves the memory leak. It should be reviewed thoroughly.
Thanks, Tomas, for help. changeset : 235644:ca7df9a3f5ba