Hello,

I am trying to build Apache Spark version 1.0.1 on Ubuntu 12.04 LTS. After
unzipping the file and running sbt/sbt assembly I get the following error :

rasika@rasikap:~/spark-1.0.1$ sbt/sbt package
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
rasika@rasikap:~/spark-1.0.1$

I changed the SPARK_DAEMON_JAVA_OPTS to
SPARK_DAEMON_JAVA_OPTS="-Xms1024m -Xmx2048m" in the spark configuration
file(spark-env.sh), but it still gives the same error.

Spark Version : 1.0.1
Scala : 2.10.4
Ubuntu : 12.04 LTS
Java : 1.7.0_65

How to solve the error? Please help.

Thank you.



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/JVM-Error-while-building-spark-tp11665.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

Reply via email to