title: increase task size spark
body: <p>I got a problem when I execute my code in spark-shell.</p>
  
  <pre><code>[Stage 1:&gt;             (0 + 0) / 16]
  17/01/13 06:09:24 WARN TaskSetManager: Stage 1 contains a task of very large size (1057 KB). The maximum recommended task size is 100 KB.
  [Stage 1:&gt;             (0 + 4) / 16]
  </code></pre>
  
  <p>After this warning the execution blocked.</p>
  
  <p>Who can I solve it?</p>
  
  <p>I tried this but it's doesn't solve the problem. </p>
  
  <pre><code>val conf = new SparkConf()
      .setAppName("MyApp")
      .setMaster("local[*]")
      .set("spark.driver.maxResultSize", "3g")
      .set("spark.executor.memory" ,"3g");
  val sc = new SparkContext(conf);`
  </code></pre>