Have you tried increasing the memory space of the JVM?
What is the current size? How big is the String you are parsing?
Thanks,
-Jacob Danner


On 4/24/07, inandjo <[EMAIL PROTECTED]> wrote:
 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: OutOffMemory error while transforming and
xmlobjet to a String!!
 Sent from the Xml Beans - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to