Thanks. Bad mistake.

2014-12-24 14:02 GMT+04:00 Sean Owen <so...@cloudera.com>:

> That command is still wrong. It is -Xmx3g with no =.
> On Dec 24, 2014 9:50 AM, "Vladimir Protsenko" <protsenk...@gmail.com>
> wrote:
>
>> 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 <gdm...@outlook.com>:
>>
>>> Thanks for the clarification Sean.
>>>
>>> Best Regards,
>>> Guru Medasani
>>>
>>>
>>>
>>>
>>> > From: so...@cloudera.com
>>> > Date: Tue, 23 Dec 2014 15:39:59 +0000
>>> > Subject: Re: Spark Installation Maven PermGen OutOfMemoryException
>>> > To: gdm...@outlook.com
>>> > CC: protsenk...@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 <gdm...@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-unsubscr...@spark.apache.org
>>> > For additional commands, e-mail: user-h...@spark.apache.org
>>> >
>>>
>>
>>

Reply via email to