Sbt asked for a bigger initial heap than the host had space for. It is a
JVM error you can and should search for first. You will need more memory.

On Mon, Sep 21, 2015, 2:11 AM Aaroncq4 <475715...@qq.com> wrote:

> When I used “sbt/sbt assembly" to compile spark code of spark-1.5.0,I got a
> problem and I did not know why.It signs that:
>
> NOTE: The sbt/sbt script has been relocated to build/sbt.
>       Please update references to point to the new location.
>
>       Invoking 'build/sbt assembly' now ...
>
> Using /usr/lib/jvm/java-7-oracle as default JAVA_HOME.
> Note, this will be overridden by -java-home if it is set.
> 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.
>
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Problem-at-sbt-sbt-assembly-tp24752.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