This works for me:
export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M
-XX:ReservedCodeCacheSize=512m" && mvn -DskipTests clean package
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Spark-Installation-Maven-PermGen-OutOfMemoryException-tp20831p20868.html
Sent
rification Sean.
>>>
>>> Best Regards,
>>> Guru Medasani
>>>
>>>
>>>
>>>
>>> > From: so...@cloudera.com
>>> > Date: Tue, 23 Dec 2014 15:39:59 +
>>> > Subject: Re: Spark Installation Maven Perm
x27;t work also.
>
> Best Regards,
> Vladimir Protsenko
>
> 2014-12-23 19:45 GMT+04:00 Guru Medasani :
>
>> Thanks for the clarification Sean.
>>
>> Best Regards,
>> Guru Medasani
>>
>>
>>
>>
>> > From: so...@cloudera.com
&g
gt; Guru Medasani
>
>
>
>
> > From: so...@cloudera.com
> > Date: Tue, 23 Dec 2014 15:39:59 +
> > Subject: Re: Spark Installation Maven PermGen OutOfMemoryException
> > To: gdm...@outlook.com
> > CC: protsenk...@gmail.com; user@spark.apache.org
>
> >
Thanks for the clarification Sean.
Best Regards,Guru Medasani
> From: so...@cloudera.com
> Date: Tue, 23 Dec 2014 15:39:59 +
> Subject: Re: Spark Installation Maven PermGen OutOfMemoryException
> To: gdm...@outlook.com
> CC: protsenk...@gmail.com; user@spark.apache.or
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 wrote:
> Hi Vladimir,
>
> From the link Se
15:04:42 +
> Subject: Re: Spark Installation Maven PermGen OutOfMemoryException
> To: protsenk...@gmail.com
> CC: user@spark.apache.org
>
> You might try a little more. The official guidance suggests 2GB:
>
> https://spark.apache.org/docs/latest/building-spark.html#
I think you should use minimum of 2gb of memory for building it from maven .
-Somnath
-Original Message-
From: Vladimir Protsenko [mailto:protsenk...@gmail.com]
Sent: Tuesday, December 23, 2014 8:28 PM
To: user@spark.apache.org
Subject: Spark Installation Maven PermGen OutOfMemoryExceptio
You might try a little more. The official guidance suggests 2GB:
https://spark.apache.org/docs/latest/building-spark.html#setting-up-mavens-memory-usage
On Tue, Dec 23, 2014 at 2:57 PM, Vladimir Protsenko
wrote:
> I am installing Spark 1.2.0 on CentOS 6.6. Just downloaded code from github,
> in