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.

Bug 254926

Summary: Memory leak in SpellcheckerHighlightLayerFactory
Product: editor Reporter: Miloslav Metelka <mmetelka>
Component: SpellcheckerAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 239360    

Description Miloslav Metelka 2015-09-02 08:35:20 UTC
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.
Comment 1 Miloslav Metelka 2015-09-02 09:39:35 UTC
http://hg.netbeans.org/jet-main/rev/ebb2fa459d6d
Comment 2 Quality Engineering 2015-09-03 01:24:20 UTC
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.