![spark System memory must be at least spark System memory must be at least](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
运行 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