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

Jungtaek Lim resolved SPARK-38275.
----------------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed

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

> Consider to include WriteBatch's memory in the memory usage of RocksDB state 
> store
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-38275
>                 URL: https://issues.apache.org/jira/browse/SPARK-38275
>             Project: Spark
>          Issue Type: Bug
>          Components: Structured Streaming
>    Affects Versions: 3.2.1
>            Reporter: Yun Tang
>            Assignee: Yun Tang
>            Priority: Major
>             Fix For: 3.3.0
>
>
> Current RocksDB state store actually use a unlimited {{WriteBatch}} with a 
> DB, the {{WriteBatch}} would not be cleared until the micro-batch data 
> committed, which results that the memoy usage of {{WriteBatch}} could be very 
> huge.
> We should consider to add the approximate memory usgae of WriteBatch as the 
> totdal memory usage and also print it separately.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to