Hi,

I have an app that generated XML file using xmlBeans, and to do so, I have
to feed the xmlobject with data that can be huge sometimes.
Before i create the file from the xmlobject, i get the xmlobject in the form
of a String with the method xmlText() or even toString().
In both case, I get an OutOffMemory error, because the String representation
just seems to be too big .
Does anybody have an idea on how I can progressively write the string
representation of that xmlobject, without running out of memory??


.....
.....
.....
        docXML.setOperationsl(operation);        
        return docXML.toString();  // exception at this point when I return
the String.
-- 
View this message in context: 
http://www.nabble.com/OutOffMemory-error-while-transforming-and-xmlobjet-to-a-String%21%21-tf3638662.html#a10160906
Sent from the Xml Beans - User mailing list archive at Nabble.com.

Reply via email to