You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Dénes Bodó (Jira)" <ji...@apache.org> on 2021/06/18 15:24:01 UTC

[jira] [Resolved] (OOZIE-1022) Maven runs out of heap memory when building the docs

     [ https://issues.apache.org/jira/browse/OOZIE-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dénes Bodó resolved OOZIE-1022.
-------------------------------
    Resolution: Cannot Reproduce

Docs generation has been working great recently.

> Maven runs out of heap memory when building the docs
> ----------------------------------------------------
>
>                 Key: OOZIE-1022
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1022
>             Project: Oozie
>          Issue Type: Improvement
>          Components: docs
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Priority: Minor
>
> When you tell maven to generate the docs, it takes a while and then eventually prints this:
> {code}
> [ERROR] Java heap space -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
> {code}
> If I do {{export MAVEN_OPTS="-Xmx1024m}} and then run maven, it works (though very slowly; a higher number might be faster).  
> We should give maven more heap space when generating the docs; I assume there's some config property in a pom or something for this.  
> Alternatively, maybe we're doing something wrong?  We don't have _that_ many doc pages that it should require so much heap space.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)