目录
- 1、问题:System memory 202768384 must be at least 4.718592E8. Please use a larger heap size
- 2、解决
1、问题:
System memory 202768384 must be at least 4.718592E8. Please use a larger heap size.
2、解决
SparkConf conf = new SparkConf() .setAppName("xxxxx") .setMaster("local");
conf.set("spark.testing.memory", "2147480000");
//后面的值大于512m即可 , 否则,JVM申请的memory不够导致无法启动SparkContext。