XML output can not greater than 8MB

janedots

New Member
I am trying to dowload inventory details to an XML format ouput by using X-DOCUMENT.
Program works no problem if the output file is less than 8MB.
Otherwise there will be an error message shows "X-NODEREF or X-DOCUMENT SET-ATTRIBUTE got an error: Unexpected exception."

So is there some kind limit for XML output, or something like that ? Makes the output can not > 8MB.

Thanks.
 

tamhas

ProgressTalk.com Sponsor
I'm not sure if this is the reason for your error, but using the DOM for XML certainly does run into issues with memory since all of the document must be in memory at the same time. If supported in your [unmentioned] version of Progress, I recommend you look at SAX instead. Being a streaming technology, it has much lower memory requirements and you can create arbitrarily large documents.
 
Top