hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunther Hagleitner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4313) Build fails with OOM in mvn-init stage
Date Tue, 09 Apr 2013 01:13:14 GMT

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

Gunther Hagleitner commented on HIVE-4313:
------------------------------------------

I'm setting this environment variable: ANT_OPTS="-XX:MaxPermSize=512m -Xmx1024m"

That works around the issue, but requires configuration of the machine your running on.
                
> Build fails with OOM in mvn-init stage
> --------------------------------------
>
>                 Key: HIVE-4313
>                 URL: https://issues.apache.org/jira/browse/HIVE-4313
>             Project: Hive
>          Issue Type: Wish
>          Components: Build Infrastructure
>         Environment: ubuntu 10.10, 32bit
>            Reporter: Navis
>            Priority: Minor
>
> Recently hive build fails with OOM frequently with exception like,
> {noformat}
> mvn-init:
>      [echo] hcatalog-server-extensions
>       [get] Destination already exists (skipping): /home/navis/apache/oss-hive/hcatalog/build/maven-ant-tasks-2.1.3.jar
> Caught an exception while logging the end of the build.  Exception was:
> java.lang.OutOfMemoryError: PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 	at java.lang.Throwable.getStackTraceElement(Native Method)
> 	at java.lang.Throwable.getOurStackTrace(Throwable.java:591)
> 	at java.lang.Throwable.printStackTrace(Throwable.java:462)
> 	at java.lang.Throwable.printStackTrace(Throwable.java:451)
> 	at org.apache.tools.ant.Main.runBuild(Main.java:828)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:218)
> 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
> 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> PermGen space
> {noformat}
> or
> {noformat}
> mvn-init:
>      [echo] hcatalog-server-extensions
>       [get] Destination already exists (skipping): /home/navis/apache/oss-hive/hcatalog/build/maven-ant-tasks-2.1.3.jar
> java.lang.OutOfMemoryError: PermGen space
> 	at org.apache.tools.ant.Main.runBuild(Main.java:826)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:218)
> 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
> 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> PermGen space
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message