users@jaxb.java.net

Re: XJC Out of Memory Exception

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 05 Jan 2004 08:43:45 -0800

Try using XJC from Ant with ANT_OPTS (see Ant documentations), or invoke
XJC as "java -jar jaxb-xjc.jar ..." with -Xmx options.

xjc.sh/xjc.bat uses rather complicated launcher mechanism, and it makes
it hard for you to specify the memory size.


> What am I doing wrong? There error message isn't very helpful.

Also, we've been fixing some memory usage issues in the XJC, so if you
could send your schema to us, that would be very helpful.


regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net