运行 ScalaSpark
程序的时候出现错误:
System memory * must be at least *.Please increase heap size using the --driver--memory option or spark.driver.memory
在 Intellij IDEA
里面找到:
Run -> Edit Configurations -> Application -> Configurations
设置大小:
-Xms256m -Xmx1024m