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.
The heap dump is at: http://netbeans.org/projects/profiler/downloads/download/Heapdumps/Heapdump1345649979357.hprof.gz It seems spellchecker is preventing editor document from being garbage collected - see NbEditorDocument #2 in the heapdump.
I will have a look.
IIRC, Petr should evaluate the effect of fix for bug #207412: http://hg.netbeans.org/main-golden/rev/bd468fbf57b4 possibly with some adjustments to the test, and let us know whether that patch is sufficient or not.
Returning to Lahvac. From the thread dump it seems that the spellchecker's updateVisibleSpans worker was still running when the test was taking the thread dump. I don't know whether it means that the spellchecker did not finish or whether it would be enough if the test waited a little longer before taking the snaphost.
The leak is no longer present in memory tests, so from my point of view, it is fixed and you can close the issue.
Ok, thanks. *** This bug has been marked as a duplicate of bug 207412 ***