Google finds a number of Sun JDK bugs for this error message - which
JDK/version are you using?

As a workaround, try setting -Xms and -Xmx to the same value if you can
tolerate that setting.

Brett

On Wed, Apr 29, 2009 at 6:01 AM, johnnyCash <
[email protected]> wrote:

>
> Have just tried to install MAVEN 2.1.0 and set all my system variables.
> Every
> different version of MAVEN_OPTS results in ...
>
> C:\Users\John>mvn --version
> Error occurred during initialization of VM
> Incompatible initial and maximum heap sizes specified
>
> It is currently a user variable ...
> MAVEN_OPTS=-Xms256m -Xmx512m
>
> Any ideas?
> --
> View this message in context:
> http://www.nabble.com/Incompatible-initial-and-maximum-heap-sizes-specified-tp23284917p23284917.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to