You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by David Hacker <dh...@salesforce.com> on 2015/04/09 00:00:14 UTC

mvn verify problems

Is anyone able to run mvn verify locally?

I've tried running 'mvn verify' on master and 4.3 branches.  I'm running
into an issue where I see a slew of java.lang.OutOfMemoryError exceptions
when it starts running the integration tests after getting through the unit
tests.

Environment -
jdk1.7.0_45_x64
maven-3.0.5

Re: mvn verify problems

Posted by Nick Dimiduk <nd...@gmail.com>.
I also find that newer versions of maven work better than 3.0.x. Less bugs
and apparently less susceptible to this issue. I'm running mostly fine with
3.2.5.

On Thu, Apr 9, 2015 at 4:05 PM, Andrew Purtell <ap...@apache.org> wrote:

> Have you tried setting a higher -Xmx in MAVEN_OPTS in your environment?
> Depending on platform sometimes the default is not enough. (Affects HBase
> also, on MacOSX)
>
> e.g. export MAVEN_OPTS="-Xmx3g"
>
> If you happen to run out of PermGen, there's a command line flag for
> increasing that also.
>
>
> On Wed, Apr 8, 2015 at 3:00 PM, David Hacker <dh...@salesforce.com>
> wrote:
>
> > Is anyone able to run mvn verify locally?
> >
> > I've tried running 'mvn verify' on master and 4.3 branches.  I'm running
> > into an issue where I see a slew of java.lang.OutOfMemoryError exceptions
> > when it starts running the integration tests after getting through the
> unit
> > tests.
> >
> > Environment -
> > jdk1.7.0_45_x64
> > maven-3.0.5
> >
>
>
>
> --
> Best regards,
>
>    - Andy
>
> Problems worthy of attack prove their worth by hitting back. - Piet Hein
> (via Tom White)
>

Re: mvn verify problems

Posted by Andrew Purtell <ap...@apache.org>.
Have you tried setting a higher -Xmx in MAVEN_OPTS in your environment?
Depending on platform sometimes the default is not enough. (Affects HBase
also, on MacOSX)

e.g. export MAVEN_OPTS="-Xmx3g"

If you happen to run out of PermGen, there's a command line flag for
increasing that also.


On Wed, Apr 8, 2015 at 3:00 PM, David Hacker <dh...@salesforce.com> wrote:

> Is anyone able to run mvn verify locally?
>
> I've tried running 'mvn verify' on master and 4.3 branches.  I'm running
> into an issue where I see a slew of java.lang.OutOfMemoryError exceptions
> when it starts running the integration tests after getting through the unit
> tests.
>
> Environment -
> jdk1.7.0_45_x64
> maven-3.0.5
>



-- 
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)