[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Seeking Examples of XSLT Memory Stress


download stress re
Alan Gutierrez wrote:
>     
>     As I've mentioned here recent, I've written a document object
>     model that's file backed. I'm using it with Saxon.
> 
>     It is called Momento.
> 
>     It has a number of cool attributes, but in order to shape it
>     into a meaningful release, I'd like to find get it working on
>     the simplest problem it could solve, which would be source
>     document memory issues in XSLT transforms.
>     
>     This would let me learn more about the applications I'm looking
>     to solve, and give me insight into how to proceede with
>     development of indices.
> 
>     If anyone has transforms that are facing memory issues due to
>     large source documents, please share them with me. I'm willing
>     to help solve memory problems so I can develop a useful 1.0
>     release.
> 
>     I'm going to release Momento as open source under an MIT or
>     Apache license (still researching). One or the other.
> 
>     Thoughts?


Are you making Saxon use your DOM for the transformation? Or do you pass 
some kind of Source for Saxon to convert to its internal DOM structure?

I have some memory hog transformations, but I am not sure they are the 
cases for which you are designing. For example we have some projects 
that output websites as multiple pages, output entire sections (folders) 
as one page and also output one large page containing all content (i.e. 
a print friendly version of employee benefits handbook).

The large, one large page version uses the document function to bring in 
multiple content pieces. This means *all* content is brought into memory 
for the transform. What would help me is if I could discard content 
piece DOMs after they are transformed. Does this make sense? Does 
Momento handle something like this?

Also this is using XSL 1.0 - don't know if you are looking for XSL 2.0 
transforms.

best,
-Rob


> 
> --
> Alan Gutierrez - alan@e...
>     - http://engrm.com/blogometer/index.html
>     - http://engrm.com/blogometer/rss.2.0.xml

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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