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

Wenchen Fan resolved SPARK-40224.
---------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 37668
[https://github.com/apache/spark/pull/37668]

> 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
>            Priority: Major
>             Fix For: 3.4.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to