|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Performance optimization and avoiding Out of Memory er
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








