airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Marru <sma...@apache.org>
Subject Re: building security module is running out of memory
Date Sun, 02 Dec 2012 03:06:44 GMT
HI Lahiru,

It may be just me at this point thats why I posted a email as opposed to a JIRA. But if multiple
people are hitting the same issue or if it is consistently reproduced, we probably should
raise a issue at that point. So for now, you can table this.

Suresh
On Dec 1, 2012, at 9:21 PM, Lahiru Gunathilake <glahiru@gmail.com> wrote:

> I would create a jira for this issue to be fixed in 0.7.
> 
> Lahiru
> 
> On Sat, Dec 1, 2012 at 4:28 PM, Suresh Marru <smarru@apache.org> wrote:
> 
>> Hi Amila,
>> 
>> Its maven 3 and java 7. We probably need not worry about it now, but just
>> wanted to alert if others also encounter the same issue.
>> 
>> mvn --version
>> Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
>> Maven home: /usr/share/maven
>> Java version: 1.7.0_09, vendor: Oracle Corporation
>> Java home:
>> /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac"
>> 
>> Suresh
>> On Dec 1, 2012, at 4:15 PM, Amila Jayasekara <thejaka.amila@gmail.com>
>> wrote:
>> 
>>> 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
>> 
>> 
> 
> 
> -- 
> System Analyst Programmer
> PTI Lab
> Indiana University


Mime
View raw message