You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Colin Sampaleanu <co...@exis.com> on 2003/01/21 20:15:58 UTC

OutOfMemoryError building maven:plugin-docs

Are other people able to execute the maven:plugin-docs target of maven 
itself? Running on win2k, I am consistently getting OutOfMemoryError 
failures when partway through the process (ie a number of the plugins 
have been done). I have tried chaning the default value in maven.bat for 
the maximum memory given to the java process from 160MB to at least 
400MB and it does not seem to help at all.

The following is an example, although it can actually happen on any 
plugin. Usually running it again immediately the failure is at the same 
spot, but I notice that now I am getting it elsewhere. Trying to run the 
xdoc target directly on the plugin that failed in the reactor build 
(maven:plugin-docs) works ok.

---

+----------------------------------------
| Generating Docs For Maven JDiff Plugin
+----------------------------------------


xdoc:

xdoc:generate-from-pom:
    [echo] Generating xdocs from POM ...
    [mkdir] Created dir: 
D:\src\open\jakarta\jakarta-turbine-maven\src\plugins-b
uild\jdiff\target\generated-xdocs

xdoc:transform:
    [mkdir] Created dir: 
D:\src\open\jakarta\jakarta-turbine-maven\src\plugins-b
uild\jdiff\target\docs
xdoc:copy-resources:
    [copy] Copying 5 files to 
D:\src\open\jakarta\jakarta-turbine-maven\src\plug
ins-build\jdiff\target\docs\style
    [copy] Copying 9 files to 
D:\src\open\jakarta\jakarta-turbine-maven\src\plug
ins-build\jdiff\target\docs\images

xdoc:copy-user-resources:
    [mkdir] Created dir: 
D:\src\open\jakarta\jakarta-turbine-maven\src\plugins-b
uild\jdiff\xdocs\stylesheets
About to use JSL stylesheet 
file:/c:/dev/mavencvs/plugins/maven-xdoc-plugin-1.3-
SNAPSHOT/site.jsl

xdoc:jelly-init:

xdoc:jelly-transform:
    [echo] Generating 
D:/src/open/jakarta/jakarta-turbine-maven/src/plugins-buil
d/jdiff/target/docs/cvs-usage.html from 
D:\src\open\jakarta\jakarta-turbine-mave
n\src\plugins-build\jdiff\target\generated-xdocs\cvs-usage.xml
    [echo] Generating 
D:/src/open/jakarta/jakarta-turbine-maven/src/plugins-buil
d/jdiff/target/docs/dependencies.html from 
D:\src\open\jakarta\jakarta-turbine-m
aven\src\plugins-build\jdiff\target\generated-xdocs\dependencies.xml
    [echo] Generating 
D:/src/open/jakarta/jakarta-turbine-maven/src/plugins-buil
d/jdiff/target/docs/index.html from 
D:\src\open\jakarta\jakarta-turbine-maven\sr
c\plugins-build\jdiff\target\generated-xdocs\index.xml
    [echo] Generating 
D:/src/open/jakarta/jakarta-turbine-maven/src/plugins-buil
d/jdiff/target/docs/issue-tracking.html from 
D:\src\open\jakarta\jakarta-turbine
-maven\src\plugins-build\jdiff\target\generated-xdocs\issue-tracking.xml
    [echo] Generating 
D:/src/open/jakarta/jakarta-turbine-maven/src/plugins-buil
d/jdiff/target/docs/mail-lists.html from 
D:\src\open\jakarta\jakarta-turbine-mav
en\src\plugins-build\jdiff\target\generated-xdocs\mail-lists.xml
    [echo] Generating 
D:/src/open/jakarta/jakarta-turbine-maven/src/plugins-buil
d/jdiff/target/docs/maven-reports.html from 
D:\src\open\jakarta\jakarta-turbine-
maven\src\plugins-build\jdiff\target\generated-xdocs\maven-reports.xml
    [echo] Generating 
D:/src/open/jakarta/jakarta-turbine-maven/src/plugins-buil
d/jdiff/target/docs/project-info.html from 
D:\src\open\jakarta\jakarta-turbine-m
aven\src\plugins-build\jdiff\target\generated-xdocs\project-info.xml
    [echo] Generating 
D:/src/open/jakarta/jakarta-turbine-maven/src/plugins-buil
d/jdiff/target/docs/team-list.html from 
D:\src\open\jakarta\jakarta-turbine-mave
n\src\plugins-build\jdiff\target\generated-xdocs\team-list.xml
Transforming user supplied documentation.

BUILD FAILED
Unable to obtain goal [xdoc:transform] -- java.lang.OutOfMemoryError 
File: null
At tag <echo>: line: 160 column: 15
Total time: 2 minutes 50 seconds