Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 07:10 AM
Edouard Mercier
Guest
 
Posts: n/a
Default Memory consumption in XSL Transformation

Hi to all;

I would like to have the confirmation on an intuition. I'm working on
a XSL that takes an XML file which contains about 30.000 XML elements
(let's call them A elements), each element defining an URI to an XML
file.

In my XSL, I read A-element by A-element, read the URI it contains,
and then analyze the XML file corresponding to the URI via the
'document()' XPath directive (let's name it the B document). This
B-document analyzis is basic and I do not use the B-document anymore,
once the A-element iteration is over.

I hope that I was clear enough...

My XSLT implementations are Saxon V6.X, Instant Saxon V6.X, and Xalan
V2.5: in all those implementations, the RAM consumption when running
the transformation is increasing that much that I run out of memory
after an about 10.000 A-elements handling.

What I guess, in that the read XML stuff via the 'document()' is never
freed by the transformer? Am i right?

How can I do in order to "prompt/force" the transformer to garbage the
read intermediate B-documents?

Thank you very much for your attention.

Regards,

Edouard
  #2  
Old July 20th, 2005, 07:10 AM
Edouard Mercier
Guest
 
Posts: n/a
Default Re: Memory consumption in XSL Transformation

My guess was right: it seems that whenever you use the 'document()'
directive, the memory used for the parsing is never recovered later
on. Am I right ?

Do you know a way of garbaging this memory? Your help is much
appreciated.

Regards,

Edouard
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles