spark编译 ./sbt/sbt assembly Error occurred during initialization of VM

最近在学spark,尝试自己编译,在一台VM上遇到了:

[root@localhost spark-1.1.0]# ./sbt/sbt  assembly
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

解决方法:

./sbt/sbt -mem512 assembly

问题解决。

参考:apache-spark-user-list.1001560.n3.nabble.com/quot-sbt-sbt-run-quot-command-returns-a-JVM-problem-td5157.html

你可能感兴趣的:(spark编译 ./sbt/sbt assembly Error occurred during initialization of VM)