Github user shahidki31 commented on the issue:

    https://github.com/apache/spark/pull/22645
  
    Test step to reproduce OOM without the PR.
    1) bin/spark-shell --conf spark.sql.ui.retainedExecutions=50000
      for (i <- 0 until 50000) {
              val df = Seq(
                (1, 1),
                (2, 2)
              ).toDF()
              df.collect()
    
    Without the PR:
    ![screenshot from 2018-10-06 
09-46-11](https://user-images.githubusercontent.com/23054875/46567210-be2b3400-c94c-11e8-8348-847bd7e011d3.png)
    
    After fix:
    ![screenshot from 2018-10-06 
09-46-31](https://user-images.githubusercontent.com/23054875/46567212-c84d3280-c94c-11e8-95f6-09bcd5dd6c10.png)



---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to