maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Hohwiller (JIRA) <>
Subject [jira] (MJAVADOC-308) OutOfMemoryError
Date Sun, 01 Sep 2013 14:42:52 GMT


Jörg Hohwiller commented on MJAVADOC-308:

After the error occurred with debug option enabled, I can manually invoke the javadoc tool:
"C:\Program Files\Java\jdk1.7.0_25\jre\..\bin\javadoc.exe" -J-Xmx1800m @options @packages

Then I get the exact error with some more debug output:
Generating C:\Users\hohwille\projects\mmm\mmm-client\mmm-client-ui\mmm-client-ui-widget\mmm-client-ui-widget-api\target\site\apidocs\net\sf\mmm\client\ui\base\widget\custom\pattern\package-use.html...
Building index for all the packages and classes...
Generating C:\Users\hohwille\projects\mmm\mmm-client\mmm-client-ui\mmm-client-ui-widget\mmm-client-ui-widget-api\target\site\apidocs\overview-tree.html...
javadoc: error - java.lang.OutOfMemoryError: Please increase memory.
For example, on the JDK Classic or HotSpot VMs, add the option -J-Xmx
such as -J-Xmx32m.
1 error
35 warnings

So there is a strange bug in generation of overview-tree.html. This should indicate that the
bug is in javadoc. But there must be a difference in what happens when I can "mvn javadoc:javadoc".
Seems I am still missing a little detail...
> OutOfMemoryError
> ----------------
>                 Key: MJAVADOC-308
>                 URL:
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.6.1, 2.7
>         Environment: Maven 3 on MacOS 10.6, Maven 3 on Hudson on Windows
>            Reporter: Pieter
> I have a 12 module project (+parent) containing not really much code (140 classes). When
running Maven site on this project, it fails with an OutOfMemoryError. When I run the javadoc
plugin with a reportset containing javadoc, test-javadoc and aggregate is runs well with a
maximum heap size of 512M. When I run it with a reportset containing javadoc, test-javadoc
and test-aggregate also. But when I add all 4 reports to my report set, I get an OutOfMemoryError,
even when setting the maximum heap size to 1.5G. Just before the error occurs I see my heap
usage growing rapidly.

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:

View raw message