You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/02/21 11:43:00 UTC

[jira] [Assigned] (SPARK-38275) Consider to include WriteBatch's memory in the memory usage of RocksDB state store

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

Apache Spark reassigned SPARK-38275:
------------------------------------

    Assignee: Apache Spark

> 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: Apache Spark
>            Priority: Major
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org