How to generate a large (30MB+) xml file in java? -


The file itself is not large, should fit in memory. But once you combine that problems arise with other upper factors. We are building a DOM in memory and it is not scaling for us. The use of raw output stream seems problematic in such a way that we have to be careful about avoiding characters

To do this What are some good ways?

Is there any commodity for this?

STX provides a convenient API with which to write the XML output stream. Easy Tutorial

Comments