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

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

Yun Tang created SPARK-38275:
--------------------------------

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


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