Hi! I have a quite large multimodule project with >150 modules. When executing "mvn site" the maven-javadoc-plugin is executed with default configuration. After some time of execution it fails in "aggregate" goal and I get a
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded" I know, I can adjust MAVEN_OPTS to give it more memory and I tried it with MAVEN_OPTS="-Xmx1536m -Xms512m -XX:MaxPermSize=512m" and with MAVEN_OPTS="-Xmx1280m -Xms256m -XX:MaxPermSize=768m". Both just leading to another OutOfMemoryError (but no GC overhead limit exceeded). I'm currently using maven 3.1.1 and tested with m-javadoc-p 2.8 and 2.9.1 (no difference). So my question is: does any body have some idea how to tweak parameters to solve this issue? My current workaround is to disable aggregation in <reporting> section as described here [0]. But this is really just a workaround, no solution :( thx for your help, - martin [0] https://maven.apache.org/plugins/maven-javadoc-plugin/examples/selective-javadocs-report.html
signature.asc
Description: PGP signature
