Unless I'm missing something, scalaxb relies on NodeSeq which is commonly implemented in a DOM-like fashion. With JAXB it is trivial to use StAX under the hood, allowing to process large XML files (200 MB+) with very little memory since the unmarshalled object graph is very small in comparison to the DOM overhead in terms of heap space.
What's the equivalent in scalaxb?
Unless I'm missing something, scalaxb relies on
NodeSeq
which is commonly implemented in a DOM-like fashion. With JAXB it is trivial to use StAX under the hood, allowing to process large XML files (200 MB+) with very little memory since the unmarshalled object graph is very small in comparison to the DOM overhead in terms of heap space. What's the equivalent in scalaxb?