Bug 335917 - Memory leak using XML editor
Summary: Memory leak using XML editor
Status: RESOLVED WORKSFORME
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: wst.xml CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-01-31 17:53 EST by bugsquisher CLA
Modified: 2011-02-18 11:01 EST (History)
2 users (show)

See Also:


Attachments
error screenshot (24.85 KB, image/png)
2011-01-31 17:58 EST, bugsquisher CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugsquisher CLA 2011-01-31 17:53:49 EST
Build Identifier: Build id: I20090611-1540

Use of the XML editor (making edits, undoing, or redoing) causes a rapid increase in memory usage, ending in crashes where files cannot be saved ("no handles"). 

The Java editor doesn't appear share this defect.

Note: I'm using the "Catdroid" ADK package below, and the XML files in question are Android layout descriptions. 

http://catdroid.org/?p=210&lang=en

Reproducible: Always

Steps to Reproduce:
1. Open an XML editor and keep your eye on the task manager
2. Make a small edit, e.g. insert a space. Memory usage jumps by several MB
3. Make a large edit, e.g. hold down space. Memory consumption continues until Eclipse crashes.
Comment 1 bugsquisher CLA 2011-01-31 17:58:38 EST
Created attachment 188017 [details]
error screenshot
Comment 2 Nitin Dahyabhai CLA 2011-01-31 21:03:45 EST
Are you able to reproduce this with WTP 3.1.2 or WTP 3.2.2 and *without* ADK installed?
Comment 3 bugsquisher CLA 2011-02-01 18:10:33 EST
(In reply to comment #2)
> Are you able to reproduce this with WTP 3.1.2 or WTP 3.2.2 and *without* ADK
> installed?

Hi Nitin,

Not sure what you mean by WTP. I grabbed Helios and the issue seems to be mitigated. Small edits cause similar spikes in memory usage as reported by the task manager, but the space is reclaimed shortly, preventing any crashes.
Comment 4 Nick Sandonato CLA 2011-02-18 11:01:19 EST
I have not been able to reproduce these problems myself. If this continues and can be determined to be a problem with the Webtools Platform editor, and not Catdroid or its associated plug-ins, then please reopen the defect.