You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Roshan Naik (JIRA)" <ji...@apache.org> on 2014/08/08 03:42:12 UTC

[jira] [Commented] (FLUME-2143) Flume build occasionally fails with OutOfMemoryError on Windows.

    [ https://issues.apache.org/jira/browse/FLUME-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090163#comment-14090163 ] 

Roshan Naik commented on FLUME-2143:
------------------------------------

update.. i have  not been able to reproduce this issue after exporting MVN_OPTS. So i think thats a good solution.  

It would be better if we can capture this directly in the pom file. But i can find a way to do that at a global scope for maven in the pom file.

> Flume build occasionally fails with OutOfMemoryError on Windows.
> ----------------------------------------------------------------
>
>                 Key: FLUME-2143
>                 URL: https://issues.apache.org/jira/browse/FLUME-2143
>             Project: Flume
>          Issue Type: Bug
>          Components: Build, Windows
>            Reporter: Roshan Naik
>            Assignee: Roshan Naik
>              Labels: windows
>             Fix For: v1.4.1
>
>         Attachments: FLUME-2143.patch
>
>
>  The build sporadically fails in Flume with the following exception:
>  [exec] The system is out of resources.
>  [exec] Consult the following stack trace for details.
>  [exec] java.lang.OutOfMemoryError: PermGen space
>  [exec]     at java.lang.ClassLoader.defineClass1(Native Method)
>  [exec]     at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>  [exec]     at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>  [exec]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>  [exec]     at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>  [exec]     at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>  [exec]     at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>  [exec]     at java.security.AccessController.doPrivileged(Native Method)
>  [exec]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>  [exec]     at org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
>  [exec]     at com.sun.tools.javac.comp.Lower.mapForEnum(Lower.java:319)
>  [exec]     at com.sun.tools.javac.comp.Lower.visitEnumSwitch(Lower.java:3075)
>  [exec]     at com.sun.tools.javac.comp.Lower.visitSwitch(Lower.java:3066)
>  [exec]     at com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:896)
>  [exec]     at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:44)
>  [exec]     at com.sun.tools.javac.comp.Lower.translate(Lower.java:1899)
>  [exec]     at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:56)
>  [exec]     at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:146)



--
This message was sent by Atlassian JIRA
(v6.2#6252)