The JavaDoc process may be spawned, so this reads the JVM parameters as set in
the command line.
Try
export MAVEN_OPTS=-Xmx512m
in your shell ( or 'set MAVEN_OPTS=-Xmx512m' if under win*)
before you start the javadoc again.
LieGrü,
strub
--- EJ Ciramella <[EMAIL PROTECTED]> schrieb:
> Hello all - I'm having a difficult time getting the javadoc plugin
> working with a rather large codebase.
>
> I keep running out of memory even though I'm using the addtionalJOption
> tag as follows:
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <configuration>
>
> <additionalJOption>-J-XX:MaxPermSize=512</additionalJOption>
> <quiet>true</quiet>
> </configuration>
> </plugin>
> I've searched around and thought this was the correct way to go by all
> the google responses. Am I supposed to use this in conjunction with
> maxmemory (which works and exposes a javadoc error on our part)?
>
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]