This is a known problem.  It took me something like 768M of memory to
build the plug-in docs on my machine.  DVSL has a memory leak somewhere
that causes this.

-Kurt

On Mon, 7 Oct 2002, Moritz Petersen wrote:

> Hi List,
>
> my system throws too many OutOfMemoryErrors when building Maven. The
> system configuration is: Apple PowerBook G4/400, 512 MB RAM, Mac OS X
> 10.2.1, JDK 1.3.1 (build 1.3.1-root_1.3.1_020714-12:46). I managed
> after some attempts (disrupted by OutOfMemoryErrors) to build maven
> (the best solution was to use ant and the bootstrapping script). When I
> try to build the site for documentation (using the goal site:generate),
> I get the following exception:
>
> <terminal-output>
>
> ...
>
> -----------------------------------------
> WARNING: failed to process
> /Users/moritzpetersen/Documents/Projekte/Resources/apache.org/cvs/
> jakarta-turbine-maven/src/plugins-build/codeswitcher/xdocs/index.xml
> -----------------------------------------
> Invocation of method 'applyTemplates' in  class
> org.apache.tools.dvsl.Transformer threw exception class
> org.apache.velocity.exception.MethodInvocationException : Invocation of
> method 'createDocument' in  class org.apache.maven.project.Project
> threw exception class java.lang.OutOfMemoryError : null
>
> xdoc:
>
>
> site:
>
> +----------------------------------------
> | Generating site for Maven IDEA Plug-in
> +----------------------------------------
> [ERROR] java.lang.reflect.InvocationTargetException:
> java.lang.OutOfMemoryError
> [ERROR]         <<no stack trace available>>
>
> </terminal-output>
>
> Until the OutOfMemoryError occurred, everything was built fine.
>
> So, I am wondering if anyone else has experienced this, and I am
> wondering if the cause of the problem is more the Mac OS X Java
> implementation or the big Maven project.
>
> Oh, before I forget it, I did change the MAVEN_OPTS variable to
> "-Xmx384m".
>
> Any help or further pointers are appreciated.
>
> Moritz.
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to