Robert Kanter created OOZIE-1022:
------------------------------------
Summary: 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
Fix For: trunk
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 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