JAXB 2.0 - OutOfMemory
I have tried to run XJC on a fairly big schema (with a lot of includes), and the result was not good.
With default JVM settings i got OutOfMemory after a few seconds. With Xmx1024m, the memory jumped pretty quickly to 872MB (!!!), and then nothing happened for over 15 minutes (after the "parsing schema..." message). After that i killed the process.
The xsom parsing takes about 3-4 seconds, after which it provide complete (and correct) information on all the schema elements. However, the parsing phase in JAXB 2.0 seems to be stuck for good.
Unfortunately i can not provide the schema as it is our internal company IP, but the size estimation from xsom sample visitor is 7640 lines and 330K total size.
I wonder if the internal tests include schemas of this size.