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

Performance optimization and avoiding Out of Memory er

Subject: Performance optimization and avoiding Out of Memory errors
From: Lewden Romain <romain.lewden@xxxxxxxxx>
Date: Fri, 6 Sep 2002 11:36:30 +0200
optimize rtf
I'm working with quite important XML Data Base ( 10 Mo) and trying to
extract information and transform it into HTML files and rtf format.
I work with Xt processor (release 19990511)
I have two big problems :
1)time of genration is very important 
I create a predocument xml of 10 Mo (with 10 chained requests about 6,000
objects)
This step takes 3 hours, with a station of 512 RAM Memory
Then I create in HTML a file for each object; it takes me 14 hours. 
it is a recursive call :
<dog level="0" name="Toto1">
	<dog level="1" name="Toto1">
		<dog level="2" name="Toto1"
			<dog level="3" name="Toto1">
				<cat>ieodfli</cat>
				<cat>ieodfli</cat>
			</dog>
		</dog>
		<dog level="2" name="Mydog">
			<dog level="3" name="Toto1">
				<cat>ieodfli</cat>
				<cat>ieodfli</cat>
			</dog>
		</dog>
	</dog>
</dog>
I've a template for "dog", with recursive calls, and if I'm in level "2" I
create a separate HTML page. I've 6000 elements at level 2 and it takes me
10 hours. How can I optimize this time ?

2) When I work in rtf, I can have out of memory errors, because I write less
files but they become huge (9 Mo octets).
All the output file is kept in memory in memory until the stylesheet is
performed.
How can I introduce an option to force my program to write "in real time" in
the output file ?

I launch xt with Java, with the fonction Driver.main(myArguments), where
myArguments represent source stylesheet output param1=...


Thanks for every help.

Romain Lewden

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.