Bug 47898 - StyledText leaking StyleRanges
Summary: StyledText leaking StyleRanges
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux-GTK
: P1 major (vote)
Target Milestone: 3.0 M6   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2003-12-02 11:11 EST by Grant Gayed CLA
Modified: 2003-12-08 15:51 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Gayed CLA 2003-12-02 11:11:48 EST
Each time a java editor is open, even repeatedly for a given resource, a new 
set of StyleRanges is created for its contents.  However when the editor is 
closed the StyleRanges don't go away.  These accumulate quite quickly, need to 
find out what's happening here.
Comment 1 Grant Gayed CLA 2003-12-02 18:15:38 EST
It's gtk accessibility that's indirectly keeping the instances alive.  Need to 
track down.
Comment 2 Grant Gayed CLA 2003-12-03 11:23:21 EST
Fixed > 1203.  This will make a huge difference in Eclipse-gtk usage w.r.t. 
reducing OutOfMemoryErrors.