Bug 304268 - [content assist] Memory leak in source editors
Summary: [content assist] Memory leak in source editors
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.sse (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Ian Tewksbury CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2010-03-01 16:06 EST by Nick Sandonato CLA
Modified: 2010-03-02 13:44 EST (History)
0 users

See Also:
nsand.dev: review+


Attachments
retained tree (22.12 KB, image/png)
2010-03-01 16:06 EST, Nick Sandonato CLA
no flags Details
Fix Patch (2.66 KB, patch)
2010-03-01 16:12 EST, Ian Tewksbury CLA
nsand.dev: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Sandonato CLA 2010-03-01 16:06:16 EST
Created attachment 160535 [details]
retained tree

It looks like our source editors are being leaked as a result of the content assist cycling code. The content assist processors are being set up as listeners to preference stores for the completion proposal auto activation characters. Unfortunately, the listener is never being released causing a chain of objects to remain in memory.

Attaching a screenshot of the retained tree.
Comment 1 Ian Tewksbury CLA 2010-03-01 16:12:15 EST
Created attachment 160537 [details]
Fix Patch

Fixes memory leak.
Comment 2 Nick Sandonato CLA 2010-03-02 13:44:12 EST
Released.