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.
An instance of NbEditorDocument is held in memory when all documents are closed. Please see heapdump from https://netbeans.org/projects/performance/downloads/download/heapdumps/Heapdump20130408.zip NbEditorDocument instance #1
http://hg.netbeans.org/jet-main/rev/38e03f04c6c5
it seems the fix doesn't work
Fix works. This is another issue, where jeditorPane adds AncestorListener. It creates AncestorNotifier with JeditorPane. It's added to parent class of FontAndColorsPanel (JPanel) and it is never removed. I am removing it in removeNotify method. http://hg.netbeans.org/jet-main/rev/233f7b2a5a78
Integrated into 'main-golden', will be available in build *201304232301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/233f7b2a5a78 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #228360 - Memory Leak in org.netbeans.api.options.OptionsDisplayer