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

Reply via email to