Supun Nakandala created SPARK-42162: ---------------------------------------
Summary: Memory usage on executors increased drastically for a complex query with large number of addition operations Key: SPARK-42162 URL: https://issues.apache.org/jira/browse/SPARK-42162 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 3.3.0 Reporter: Supun Nakandala With the [recent changes|https://github.com/apache/spark/pull/37851] in the expression canonicalization, a complex query with a large number of Add operations ends up consuming 10x more memory on the executors. A heap histogram analysis shows that a large number of Add objects use the extra memory. Before the PR [#37851|https://github.com/apache/spark/pull/37851], this issue does not happen. The high memory usage causes the executors to lose heartbeat signals and cause task failures. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org