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 > From: so...@cloudera.com > Date: Tue, 23 Dec 2014 15:04:42 +0000 > 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#setting-up-mavens-memory-usage > > > On Tue, Dec 23, 2014 at 2:57 PM, Vladimir Protsenko > <protsenk...@gmail.com> wrote: > > I am installing Spark 1.2.0 on CentOS 6.6. Just downloaded code from github, > > installed maven and trying to compile system: > > > > git clone https://github.com/apache/spark.git > > git checkout v1.2.0 > > mvn -DskipTests clean package > > > > leads to OutOfMemoryException. What amount of memory does it requires? > > > > export MAVEN_OPTS=`-Xmx=1500m -XX:MaxPermSize=512m > > -XX:ReservedCodeCacheSize=512m` doesn't help. > > > > Waht is a straight forward way to start using Spark? > > > > > > > > -- > > View this message in context: > > http://apache-spark-user-list.1001560.n3.nabble.com/Spark-Installation-Maven-PermGen-OutOfMemoryException-tp20831.html > > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > > For additional commands, e-mail: user-h...@spark.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org >