8 sep 2011 kl. 19.30 skrev Harshana Eranga Martin:

> Less important, after hours of running tests via mvn clean install I got an 
> OOME:
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Apache Axis2 - Root 1.7.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> ...
> constituent[29]: file:/usr/share/maven/lib/wagon-provider-api-1.0-beta-7.jar
> constituent[30]: file:/usr/share/maven/lib/xercesMinimal-1.9.6.2.jar
> ---------------------------------------------------
> Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
>        at java.lang.ClassLoader.defineClass1(Native Method)
>        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> 
> I suppose passing on some Xmx to mvn works, but it would be nice if the POM 
> already defined this. I'm on OS X with Java HotSpot(TM) 64-Bit Server VM 
> (build 20.1-b02-384, mixed mode), so perhaps you're all on 32bit and thus 
> never noticed it before. Would surprise me though :)
> 
> Could you please share value of your MAVEN_OPTS variable?

Nil. Nor do I have any options set in ~/.m2.



                karl
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to