I am running a Bash Script in MAC. This script calls a spark method written in Scala language for a large number of times. I am currently trying to call this spark method for
pls increase the executer memory so that OOM will go away else make chnage in code so that your RDD wont have big memory foot print.
RDD
--executer-memory = 3G