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 SpellcheckerHighlightLayerFactory uses component.putClientProperty(SpellcheckerHighlightLayerFactory.class, bag = new OffsetsBag(component.getDocument())); but once the pane's document changes the reference is not updated for some reason and there's a memory leak. I'll fix that.
http://hg.netbeans.org/jet-main/rev/ebb2fa459d6d
Integrated into 'main-silver', will be available in build *201509030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ebb2fa459d6d User: Miloslav Metelka <mmetelka@netbeans.org> Log: #254926 - Memory leak in SpellcheckerHighlightLayerFactory.