Myasuka opened a new pull request #35600:
URL: https://github.com/apache/spark/pull/35600


   
   ### What changes were proposed in this pull request?
   Include the writeBatch's memoy usage as the total memory usage of RocksDB 
state store.
   
   Moreover, this PR also includes a hotfix to clear write batch just after 
`commit`.
   
   ### Why are the changes needed?
   As the memory used by WriteBatch has no limit, the actual memory usage could 
be much larger than previously stats without considering the memoy used by 
write batch.
   
   ### Does this PR introduce _any_ user-facing change?
   NO
   
   ### How was this patch tested?
   Test via running jobs with large micro-batch.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to