Bug 158915 - [editor] Opening 3MB XML file fails (cannot create part)
Summary: [editor] Opening 3MB XML file fails (cannot create part)
Status: CLOSED DUPLICATE of bug 213305
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: wst.xml CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: performance
: 159754 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-26 23:33 EDT by Riyad Kalla CLA
Modified: 2010-12-06 14:25 EST (History)
5 users (show)

See Also:


Attachments
XML file used to show the problem (344.30 KB, application/zip)
2006-09-26 23:35 EDT, Riyad Kalla CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riyad Kalla CLA 2006-09-26 23:33:00 EDT
When opening the attached XML file (even with a 1024MB heap and 512MB permGen space VM setting to run Eclipse with) the load fails after a few seconds of the UI locked up, I was unable to get the file to open, and I've opened other large XML files before, though it was a bit odd.

To reproduce problem, please download the attached XML file and try and open it in a new Java project.
Comment 1 Riyad Kalla CLA 2006-09-26 23:35:43 EDT
Created attachment 50975 [details]
XML file used to show the problem
Comment 2 Riyad Kalla CLA 2006-09-26 23:36:22 EDT
Updated summary, the file is actually 3MB, I was multi-tasking unsuccessfully before.
Comment 3 David Williams CLA 2006-10-18 01:34:59 EDT
Sounds very similar to bug 159754 ... I assume you know and intend your long like file is all in one long line? 

Comment 4 Ian Tewksbury CLA 2010-03-02 15:35:17 EST
This file can still not be opened in WTP 3.2
Comment 5 Nitin Dahyabhai CLA 2010-03-14 05:56:56 EDT
*** Bug 159754 has been marked as a duplicate of this bug. ***
Comment 6 Sarika Sinha CLA 2010-12-06 06:00:04 EST
I was able to open the file with a very minor change in the xml file, introduced some new line characters. Problems seem to happen because the whole xml file is in single line. and in the StyleTextRenderer, it goes on in a loop to set the style. swt will have to handle this scenario.
Comment 7 Nick Sandonato CLA 2010-12-06 14:25:11 EST
This problem lies within rendering single lines, which as I recall was investigated in Bug 213305.

*** This bug has been marked as a duplicate of bug 213305 ***