Axis can support sending in a List of documents. We were having the same issues with out of memory errors trying to run xpath on very large documents. We changed the interface to support a list of documents, and broke the messages up using xslt at the client. See the attached xslt example if you are interested in chunking them using xslt. If you have control over how the documents are built, it would be better to build them into multiple documents in the first place, and not have the overhead of using xslt.
Processing multiple (smaller) documents performed much better than one very
large document, and it cured our out of memory problems.
-Alan-
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 08, 2005 8:36 AM
To: [email protected]
Subject: Chunking mode?
Hi all,
I was wondering if there is a chunking feature in Axis ?
We have extreamly large response messages and our system is falling over
with
out of memory. For instance, processing the response on the WLS site
allocates
almost 2 gig of ram and our client falls over with an OutOfMemory error...
Regards
Steven McArdle
---------------------------------------------------------------------------------------------------------
This e-mail message may contain privileged and/or confidential information, and
is intended to be received only by persons entitled to receive such
information. If you have received this e-mail in error, please notify the
sender immediately. Please delete it and all attachments from any servers, hard
drives or any other media. Other use of this e-mail by you is strictly
prohibited.
All e-mails and attachments sent and received are subject to monitoring,
reading and archival by Monsanto. The recipient of this e-mail is solely
responsible for checking for the presence of "Viruses" or other "Malware".
Monsanto accepts no liability for any damage caused by any such code
transmitted by or accompanying this e-mail or any attachment.
---------------------------------------------------------------------------------------------------------
COSChunking.xsl
Description: Binary data
