It depends what kind of detail you want.
1. The OutOfMemory error can occur at indeterminate points but normally
after my final batch of unit tests have been run when the xdoc plugin is
generating menus or content for the multiproject.
2. The memory usage reported by MAVEN_OPTS=-verbose:gc doesn't seem approach
the max heap size although I've tried various combinations of -Xmx and -Xms
all within the limits of 1.5gig RAM on the machine.
3. I seem to have temporarily resolved my issue by doing the following but
my susispicion is that it will come back as my codebase grows.
a) disabling all JDepend reports (I've had lots of problems with
OutOfMemory errors and Jdepend runnning from Ant in the past)
b) forking the JVM while the Junit tests run
c) separating removing any other goals from the build so that I'm only
running multiproject:site.
4. At present the multiproject is made up of only 3 sub-projects, I was
intending for this to grow to approximately 20 over the next week but will
now have to rethink.
5. I can't really clarify the "exact failure" any better without knowing
what kind of information you are after?
Matt.
-----Original Message-----
From: Dion Gillard [mailto:[EMAIL PROTECTED]
Sent: 17 June 2004 08:16
To: Maven Users List
Subject: Re: Multiproject:site OutOfMemory
Matt, do you have any detail to add to the report?
What is the exact failure, what have you set for MAVEN_OPTS etc?
On Wed, 16 Jun 2004 17:31:25 +0100, Matt Read <[EMAIL PROTECTED]> wrote:
>
> <http://jira.codehaus.org/browse/MAVEN-1294>
> http://jira.codehaus.org/browse/MAVEN-1294
>
> Could anyone comment on the above defect or suggest resolutions or
> work-arounds? I'm having the same problem as many seem to have
> reported (currently with RC3) and it's driving me mad. I'm running
> multiproject:site and I've enabled -verbose:gc with a max heap-size of
> 1024meg and just before I get the OutOfMemory error GC reports only using
80meg - how can that be?
>
> Thanks,
> Matt.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]