cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <ning.ji...@iona.com>
Subject Re: Maven build error
Date Tue, 24 Apr 2007 10:32:45 GMT
Hi Torsten

You can set the  MAVEN_OPT  to "-Xmx512m" to solve this problem :).

Willem.

Mielke, Torsten wrote:
> Hello,
>
> When trying to build CXF off the latest trunk I often get the following
> error below [1]. How can I configure Maven to assign more heap to the
> Java compiler?
>
> Cheers,
> Torsten Mielke
>
>  
> [1] build error.
> [INFO] [compiler:compile]
> [INFO] Compiling 1227 source files to
> C:\CXF\trunk\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
> [INFO]
> --------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ---------------------------------------------------------------------
> [INFO] Total time: 6 minutes 37 seconds
> [INFO] Finished at: Thu Apr 19 17:01:39 CEST 2007
> [INFO] Final Memory: 48M/63M
> [INFO]
> ---------------------------------------------------------------------
>
>
>
>
>   



Mime
View raw message