spark 错误 How to set heap size in spark within the Eclipse environment?

1、In Eclipse go to Run > Run Configurations... > Arguments > VM arguments and set max heapsize like -Xmx512m.

2、idea  同样

3、Intellij IDEA运行报Command line is too long解法

      修改项目下 .ideaworkspace.xml,找到标签 <component name="PropertiesComponent"> , 在标签里加一行  <property name="dynamic.classpath" value="true" />

原文地址:https://www.cnblogs.com/cbugs/p/14046423.html