airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Jayasekara <thejaka.am...@gmail.com>
Subject Re: building security module is running out of memory
Date Sat, 01 Dec 2012 21:15:00 GMT
Hi Suresh,

I am running with default memory. Didn't encounter the undermentioned
issue though. Are you using maven 2 or maven 3 ?

Thanks
Amila

On Sat, Dec 1, 2012 at 4:09 PM, Suresh Marru <smarru@apache.org> wrote:
> Hi Amila,
>
> This may be a known requirements, but with default maven settings, the build is frequently
failing with out of memory. Increasing memory works fine.
>
> FYI,
>
> Suresh
>
>
> INFO] ------------------------------------------------------------------------
> [INFO] Building Airavata Security Implementation 0.6-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ airavata-security ---
> [INFO] Deleting /Users/smarru/Airavata/code/airavata/modules/security/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:copy-resources (copy-resources) @ airavata-security
---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/smarru/Airavata/code/airavata/modules/security/src/main/assembly/dist
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ airavata-security
---
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ airavata-security
---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/smarru/Airavata/code/airavata/modules/security/src/main/resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ airavata-security
---
> [INFO] Compiling 15 source files to /Users/smarru/Airavata/code/airavata/modules/security/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] 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: PermGen space
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
>         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         at org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
>         at com.sun.tools.javac.main.JavaCompiler.<init>(JavaCompiler.java:353)
>         at com.sun.tools.javac.main.JavaCompiler.instance(JavaCompiler.java:88)
>         at com.sun.tools.javac.main.Main.compile(Main.java:424)
>         at com.sun.tools.javac.main.Main.compile(Main.java:353)
>         at com.sun.tools.javac.main.Main.compile(Main.java:342)
>         at com.sun.tools.javac.main.Main.compile(Main.java:333)
>         at com.sun.tools.javac.Main.compile(Main.java:94)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554)
>         at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161)
>         at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
>         at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>
> [INFO] 1 error

Mime
View raw message