falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (FALCON-411) Default permgen space not enough for unit tests
Date Wed, 23 Apr 2014 15:00:30 GMT

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

Jean-Baptiste Onofré commented on FALCON-411:
---------------------------------------------

AFAIR, the documentation mention to set the MAVEN_OPTS at least with -XX:MaxPermSize=256m
-Xmx768m (it's what I use on my machine).

You can see it on: http://falcon.incubator.apache.org/docs/InstallationSteps.html

in the building section:

{code}
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" && mvn clean install [For hadoop
1]
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" && mvn clean install -Phadoop-2
[For hadoop 2]
{code}

> Default permgen space not enough for unit tests
> -----------------------------------------------
>
>                 Key: FALCON-411
>                 URL: https://issues.apache.org/jira/browse/FALCON-411
>             Project: Falcon
>          Issue Type: Sub-task
>            Reporter: Suresh Srinivas
>
> Falcon unit tests run out of permgen space. 
> {noformat}
> [jar:file:/C:/Users/jenkins/AppData/Local/Temp/Jetty_0_0_0_0_41000_oozie.war__oozie__xjd9u8/webapp/WEB-INF/lib/slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> ERROR: Oozie could not be started
> REASON: java.lang.OutOfMemoryError: PermGen space
> Stacktrace:
> -----------------------------------------------------------------
> 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)
> {noformat}



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

Mime
View raw message