[ 
https://issues.apache.org/jira/browse/SPARK-40224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-40224:
------------------------------------

    Assignee: Apache Spark

> Make ObjectHashAggregateExec release memory eagerly when fallback to 
> sort-based
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-40224
>                 URL: https://issues.apache.org/jira/browse/SPARK-40224
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: XiDuo You
>            Assignee: Apache Spark
>            Priority: Major
>
> Avoid OOM issue as far as possible:
> {code:java}
> ObjectAggregationIterator INFO - Aggregation hash map size 128 reaches 
> threshold capacity (128 entries), spilling and falling back to sort based 
> aggregation. You may change the threshold by adjust option 
> spark.sql.objectHashAggregate.sortBased.fallbackThreshold
> #
> # java.lang.OutOfMemoryError: Java heap space
> # -XX:OnOutOfMemoryError="kill %p"
> #   Executing /bin/sh -c "kill 46725"...{code}



--
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

Reply via email to