This is a common issue of the wsdl2java maven plugin,
if you wsdl is very large , the out of memory exception will be thrown.

Please try this 
 
export MAVEN_OPTS=-Xmx512M

Cheers, 

Willem.

-----Original Message-----
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Thu 7/12/2007 20:49
To: [email protected]
Subject: Java out of memory building 2.0 from source with maven?!
 
This belongs on the devo list, I guess, but I'm really just a user
running a build to get the rest of the javadoc. Any hints on how to get
around this? I have the current 1.5 JDK.

 

 

[INFO] Compiling 1313 source files to
C:\x\s\apache-cxf-2.0-incubator-src\testutils\target\classes

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD FAILURE

[INFO]
------------------------------------------------------------------------

[INFO] Compilation failure

Failure executing javac, but could not parse the error:

 

 

The system is out of resources.

Consult the following stack trace for details.

java.lang.OutOfMemoryError: Java heap space

 

 

 

Failure executing javac, but could not parse the error:

 

 

The system is out of resources.

Consult the following stack trace for details.

java.lang.OutOfMemoryError: Java heap space



Reply via email to