I have a fairly large repetitive XML to create using JAXB. Storing the whole object in the memory then do the marshaling takes too much memory. Essentially, my XML looks lik
This works for me:
marshaller.setProperty(Marshaller.JAXB_SCHEMA_LOCATION, "");