Hi Srinath,

You need to increase the permanent generation space for the maven.

export MAVEN_OPTS=" -Xmx2048m -Xms1024m -XX:MaxPermSize=512m"

Thanks,
Supun..

On Wed, May 5, 2010 at 4:10 PM, Srinath Perera <[email protected]> wrote:
> Hi All;
>
> I am getting following repeatedly when I tried to build the branch.
> Can anyone help?
>
> --Srinath
>
> Compiling 16 source files to
> /home/hemapani/code/wso2-projects/3.0.0-branch/dependencies/axis2/modules/mex/target/classes
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> ---------------------------------------------------
> constituent[0]: file:/opt/apache-maven-2.1.0/lib/maven-2.1.0-uber.jar
> constituent[1]:
> file:/home/hemapani/.m2/repository/org/apache/maven/archetype/archetype-packaging/2.0-alpha-4/archetype-packaging-2.0-alpha-4.jar
> constituent[2]:
> file:/home/hemapani/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> ---------------------------------------------------
> Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
>        at java.lang.ClassLoader.defineClass1(Native Method)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>        at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>
>
> --
> ============================
> Srinath Perera, Ph.D.
>   WSO2 Inc. http://wso2.com
>   Blog: http://srinathsview.blogspot.com/
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>

_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to