title: generating large xml using jaxb
body: <p>I need to generate a big xml. I am currently using JAXB 2.0 .</p>
  
  <p>The problem is if I keep all the objects in memory and generate the probability of running out of heap space is very high.</p>
  
  <p>I would like to know the best approach on how to do this.</p>
  
  <p>Thanks</p>