Chunking Marshalling with JAXB

R

rottyguy70

We have a program that converts binary data to xml and it currently
uses JAXB. The problem is that the data can be huge (resulting in
100's of megs of XML). Obviously the memory requirements are equally
large as it appears that JAXB requires that all data is loaded before
dumping out the file. My question is: Is there a way to force JAXB to
chunk out data on demand to one file during processing? The format of
the xml is:

<datas>
<data>
</data>
<data>
</data>
....
</datas>

Because of requirements, we aren't able to export a lot of little
files.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top