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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> - Stylus Studio - Registrar en o... (1)
-> + Stylus Studio - Registrar en o... (2)
-> + Can a pipeline send a file by ... (2)
-> + After Updateing WIN10 to WIN11... (12)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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

   
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.