The settings to control memory use for the javadoc executable is in
modules/pom.xml (it does not take into account the MAVEN_OPTS setting near as I
can tell.
--
Jody Garnett
On Wednesday, 23 May 2012 at 3:00 PM, Michael Bedward wrote:
> Jody,
>
> I've had this problem on my system for a while, and yet the Hudson
> trunk javadocs job runs successfully with this config:
>
> export MAVEN_OPTS="-Xmx512m" &&
> mvn javadoc:aggregate
>
> Michael
>
>
> On 23 May 2012 13:25, Jody Garnett <jody.garn...@gmail.com
> (mailto:jody.garn...@gmail.com)> wrote:
> > I have been unable to generate javadocs this time out (sigh).
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:aggregate (default-cli)
> > on project modules: An error has occurred in JavaDocs report generation:
> > [ERROR] Exit code: 1 - javadoc: error - java.lang.OutOfMemoryError: Please
> > increase memory.
> > [ERROR] For example, on the Sun Classic or HotSpot VMs, add the option
> > -J-Xmx
> > [ERROR] such as -J-Xmx32m.
> >
> > I have experimented with increasing memory for the javadoc in the
> > configuration of modules/pom.xml - thus far no success at 2048m or 4096m
> >
> > I am going to proceed without javadocs for now.
> >
> > --
> > Jody Garnett
> >
> >
> > ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > GeoTools-Devel mailing list
> > GeoTools-Devel@lists.sourceforge.net
> > (mailto:GeoTools-Devel@lists.sourceforge.net)
> > https://lists.sourceforge.net/lists/listinfo/geotools-devel
> >
>
>
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel