title: Total size of serialized results of tasks is bigger than spark.driver.maxResultSize
body: <p>Good day.</p>
  
  <p>I am running a development code for parsing some log files. My code will run smoothly if I tried to parse less files. But as I increase the number of log files I need to parse, it will return different errors such as <code>too many open files</code> and <code>Total size of serialized results of tasks is bigger than spark.driver.maxResultSize</code>. </p>
  
  <p>I tried to increase the <code>spark.driver.maxResultSize</code> but the error still persists. </p>
  
  <p>Can you give me any ideas on how to resolve this issue?</p>
  
  <p>Thanks.</p>
  
  <p><img src="https://i.stack.imgur.com/SuitW.png" alt="Sample Error"></p>