[
http://jira.codehaus.org/browse/MPIR-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147035#action_147035
]
Bartlomiej Kuczynski commented on MPIR-133:
-------------------------------------------
NOT A BUG.
Try add to ~/.bashrc:
export MAVEN_OPTS="-Xmx1024m -Xms512m"
There are the same options like in JVM (maven add this option when start JVM).
It should help.
> OutOfMemort when generating site
> --------------------------------
>
> Key: MPIR-133
> URL: http://jira.codehaus.org/browse/MPIR-133
> Project: Maven 2.x Project Info Reports Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: redhat linux, jdk 1.5, maven 2.0.9
> Reporter: Lars Vonk
>
> Following exception occurs when running "mvn clean site" on project info
> reports plugin.
> 18-Aug-2008 14:49:04 [INFO]
> ------------------------------------------------------------------------
> 18-Aug-2008 14:49:04 [ERROR] FATAL ERROR
> 18-Aug-2008 14:49:04 [INFO]
> ------------------------------------------------------------------------
> 18-Aug-2008 14:49:04 [INFO] Java heap space
> 18-Aug-2008 14:49:04 [INFO]
> ------------------------------------------------------------------------
> 18-Aug-2008 14:49:04 [DEBUG] Trace
> 18-Aug-2008 14:49:04 java.lang.OutOfMemoryError: Java heap space
> 18-Aug-2008 14:49:04 at java.util.zip.ZipEntry.initFields(Native
> Method)
> 18-Aug-2008 14:49:04 at
> java.util.zip.ZipEntry.<init>(ZipEntry.java:100)
> 18-Aug-2008 14:49:04 at
> java.util.zip.ZipFile$3.nextElement(ZipFile.java:437)
> 18-Aug-2008 14:49:04 at
> java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)
> 18-Aug-2008 14:49:04 at
> java.util.jar.JarFile$1.nextElement(JarFile.java:221)
> 18-Aug-2008 14:49:04 at
> java.util.jar.JarFile$1.nextElement(JarFile.java:220)
> 18-Aug-2008 14:49:04 at
> java.util.Collections.list(Collections.java:3406)
> 18-Aug-2008 14:49:04 at
> org.apache.maven.shared.jar.JarAnalyzer.<init>(JarAnalyzer.java:105)
> 18-Aug-2008 14:49:04 at
> org.apache.maven.report.projectinfo.dependencies.Dependencies.getJarDependencyDetails(Dependencies.java:282)
> 18-Aug-2008 14:49:04 at
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.hasSealed(DependenciesRenderer.java:1278)
> 18-Aug-2008 14:49:04 at
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyFileDetails(DependenciesRenderer.java:423)
> 18-Aug-2008 14:49:04 at
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody(DependenciesRenderer.java:268)
> This only occurs with 2.1, using 2.0.1 explicitly works fine. I increased the
> Xmx to 1024m, but the problem persists.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira