I don't know if your last message means that the problem is solved now.
In this case just as an info. 
I had the same error messages last week and it was also because I didn't use
the memory parameters correctly.
So in case you get an error message "Incompatible initial and maximum heap
sizes specified" you have to check that the maximum memory size is higher
than the initial size.

As far as I know the Xmx parameter from MAVEN_OPTS is passed to the
javadoc-call by default so increasing the value in Maven_OPTS should solve
memory
issues with the javadoc plugin

Christian
-----Original Message-----
From: Ciramella, EJ [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 18, 2003 7:21 PM
To: 'Maven Users List'
Subject: RE: maven memory increase...

As per my last email, the -X value should have been -Xmx no -Xms

-----Original Message-----
From: Luke Taylor [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 12:46 PM
To: Maven Users List
Subject: Re: maven memory increase...


Ciramella, EJ wrote:

> Ok after toying around with these options, now I get the following error:
> 
> Error occurred during initialization of VM
> Incompatible initial and maximum heap sizes specified
> 
> I've reset things to default where I could, but I'm still not getting
> anywhere.  
> 
> Any suggestions?
> 

How about some detailed information on what you're actually doing and 
what the results are? If you say you've "toyed around with these 
options" then we're all going to be guessing pretty much. It's a pretty 
straightforward JDK issue of setting the parameters correctly but it's 
up to you to say what platform you're running on and what values you 
have for the heap sizes.

Why don't you add a line to the script just before java is called and 
echo the value of MAVEN_OPTS?

Luke.

-- 
  Luke Taylor.                      Monkey Machine Ltd.
  PGP Key ID: 0x57E9523C            http://www.monkeymachine.ltd.uk




---------------------------------------------------------------------
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]

Reply via email to