users@jaxb.java.net

Re: OutOfMemoryError

From: Marc Dumontier <dumontier_at_mshri.on.ca>
Date: Wed, 26 Feb 2003 11:58:51 -0500

That worked great...thanks.

java -Xmx800m -jar ~/jwsdp-1.1/jaxb-1.0/lib/jaxb-xjc.jar bind.xsd


MD

Kohsuke Kawaguchi wrote:

>>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
>
>