spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Protsenko <protsenk...@gmail.com>
Subject Re: Spark Installation Maven PermGen OutOfMemoryException
Date Wed, 24 Dec 2014 09:50:46 GMT
Java 8 rpm 64bit downloaded from official oracle site solved my problem.
And I need not set max heap size, final memory shown at the end of maven
build was 81/1943M. I want to learn spark so have no restriction on
choosing java version.

Guru Medasani, thanks for the tip.

I will repeat info, that I wrongly send only to Sean. I have tried export
MAVEN_OPTS=`-Xmx=3g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=1g` and it
doesn't work also.

Best Regards,
Vladimir Protsenko

2014-12-23 19:45 GMT+04:00 Guru Medasani <gdmeda@outlook.com>:

> Thanks for the clarification Sean.
>
> Best Regards,
> Guru Medasani
>
>
>
>
> > From: sowen@cloudera.com
> > Date: Tue, 23 Dec 2014 15:39:59 +0000
> > Subject: Re: Spark Installation Maven PermGen OutOfMemoryException
> > To: gdmeda@outlook.com
> > CC: protsenkovi@gmail.com; user@spark.apache.org
>
> >
> > The text there is actually unclear. In Java 8, you still need to set
> > the max heap size (-Xmx2g). The optional bit is the
> > "-XX:MaxPermSize=512M" actually. Java 8 no longer has a separate
> > permanent generation.
> >
> > On Tue, Dec 23, 2014 at 3:32 PM, Guru Medasani <gdmeda@outlook.com>
> wrote:
> > > Hi Vladimir,
> > >
> > > From the link Sean posted, if you use Java 8 there is this following
> note.
> > >
> > > Note: For Java 8 and above this step is not required.
> > >
> > > So if you have no problems using Java 8, give it a shot.
> > >
> > > Best Regards,
> > > Guru Medasani
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> > For additional commands, e-mail: user-help@spark.apache.org
> >
>

Mime
View raw message