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] [Commented] (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:comment-tabpanel&focusedCommentId=17495481#comment-17495481 ]
Apache Spark commented on SPARK-38275:
--------------------------------------
User 'Myasuka' has created a pull request for this issue:
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
> 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