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 from issue #216001 contains 150M in 19 instances of com.sun.tools.jdi.VirtualMachineImpl. It looks like some of those instances should not be held in memory. Please investigate.
Here is the heap dump: http://www.sulweb.org/download/sparsi/heapdump.zip
Instanceof of JPDADebuggerImpl #4, #5, #7 and #12 are being held by JDI Event Control Thread. I do not think we can do anything about that. All respective instances of VirtualMachineImpl have shutdown = true, that means that either dispose() or exit() was called. The fact, that four "JDI Event Control Thread"s are still running, looks like an issue of JDI, not NetBeans. All the remaining instances of JPDADebuggerImpl are held by the CompoundModel. I've found out that this was actually already fixed in 8.0 by http://hg.netbeans.org/core-main/rev/ef174ad3ab26
*** Bug 243146 has been marked as a duplicate of this bug. ***