I am running a geoSpark Demo in the local mode,not standalone.The data's size is about 5GB. And I am getting the OOM Error.The I want to change the spark memory in the local mode ,how to do it?
Asked
Active
Viewed 36 times
0
-
I use IDEA to develop spark demo – 谭凯中 Jun 10 '20 at 08:38
-
can you add the code you are trying? – Narsireddy Aug 27 '20 at 13:33
1 Answers
0
conf=SparkConf()
conf.set("spark.executor.memory", "1g")

Григорий
- 41
- 9
-
oh,yes.But I want to use config file. where to put it in the maven project ? – 谭凯中 Jun 10 '20 at 15:36
-