Github user kiszk commented on a diff in the pull request: https://github.com/apache/spark/pull/21039#discussion_r180719456 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/HashAggregateExec.scala --- @@ -236,6 +236,8 @@ case class HashAggregateExec( | } """.stripMargin) + bufVars = null // explicitly null this field out to allow the referent to be GC'd sooner --- End diff -- I am curious what happens when `bufVars ` is accessed in `doConsumeWithoutKeys`.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org