XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Lee HumphriesSubject: SS Crash 4.6 103r: Working with Large XML
Author: Lee Humphries
Date: 09 Mar 2003 06:49 PM
I've just had two separate crashes while working with a largish XML file (.5Gb).
1. Stylus had finished saving the file after indenting it. When I closed the documents window, Stylus crashed.
2. After restarting my computer I reopened the file in Stylus. Stylus reported an "Out of Memory" error - strange that - and only displayed around the first four lines out of the file, the remainder of the document window was not properly redrawn. I pressed the down arrow twice, and it seems that when the cursor was about to move to the third line Stylus crashed.


ApplicationStruzzo(147).log
Or in pairs

Postnext
Minollo I.Subject: Re: SS Crash 4.6 103r: Working with Large XML
Author: Minollo I.
Date: 10 Mar 2003 09:58 AM

>...
>I've just had two separate crashes while working with a largish XML file
>(.5Gb).

Half a GB is a pretty large size for a document to be edited in Stylus. I'm
not surprised you hit memory problems; not many machine configurations
would be able to handle that scenario...

The log file points to issues in memory allocation, as we could expect; I
guess the possible solutions (some of which could be unfeasible) are
limited to:
- Increase the physical memory of the machine
- Increase the size of the swap file
- Split the large document into smaller, manageable pieces

Minollo

Postnext
Lee HumphriesSubject: Re: SS Crash 4.6 103r: Working with Large XML
Author: Lee Humphries
Date: 10 Mar 2003 06:52 PM
Hi Minollo,

>Half a GB is a pretty large size for a
>document to be edited in Stylus. I'm not
>surprised you hit memory problems; not many
>machine configurations would be able to
>handle that scenario...
Well, mine certainly couldn't ;-)

>The log file points to issues in memory
>allocation, as we could expect;
I thought as much.

I supplied the log file because I was dealing with an extreme situation and just in case it provided some pointers (no pun intended) to getting Stylus to cope with such things better.

Regards, Lee

Postnext
Minollo I.Subject: Re: SS Crash 4.6 103r: Working with Large XML
Author: Minollo I.
Date: 10 Mar 2003 10:32 PM
Thanks; and we did appreciate having a chance of taking a look at the log
files. Stylus Studio tries to handle situations like this; but
memory-related exceptions are in most cases pretty tough to recover from...

Thanks,
Minollo

Postnext
ra taSubject: Re: SS Crash 4.6 103r: Working with Large XML
Author: ra ta
Date: 04 Mar 2005 09:26 PM
You recommended "Split the large document into smaller, manageable pieces"<br> <br> I have a 2.5 GM XML file that I would like to view and extract data from.<br> I have never viewed it. How do i go about splitting it into smaller files?

Postnext
Minollo I.Subject: Re: SS Crash 4.6 103r: Working with Large XML
Author: Minollo I.
Date: 04 Mar 2005 10:08 PM
I'm not aware of any tool that will allow you to manipulate a 2.5GB XML document.

I would guess your best option is to rely on a SAX parser and to split the document according to some logic depending on its structure...

You may want to post a question to the Apache Xerces mailing list to see if anyone has better suggestions.

Minollo

Postnext
ra taSubject: Re: SS Crash 4.6 103r: Working with Large XML
Author: ra ta
Date: 05 Mar 2005 02:37 PM
Originally Posted: 05 Mar 2005 02:38 PM
OK, as far as the SAX parser goes... How do i go about doing that on a 2.5GB file with Stylus Studio? I have the trial version.

Posttop
Minollo I.Subject: Re: SS Crash 4.6 103r: Working with Large XML
Author: Minollo I.
Date: 05 Mar 2005 03:06 PM
Stylus Studio won't be able to help you on that; you will need to write
code to do what you need to do...

Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.