users@jaxb.java.net

Re: OutOfMemoryError

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 26 Feb 2003 08:43:24 -0800

> I'm working with a very large set of schemas. In the beta version, i had
> to add the -mx800m flag to the java invocation call in xjc.sh and that
> solved my problem for compiling the schema. In this version however, I
> can't get passed the OutOfMemoryError no matter how much memory i throw
> at it. It seems to max out at about 100Mb before dying anyhow.

Would you try invoking jaxb-xjc.jar directly with -Xmx/-Xss option and
see if they solve the problem?

You might have to do the jaxb-qname.jar workaround Bernhard has found
earlier.

regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com