Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38275

Consider to include WriteBatch's memory in the memory usage of RocksDB state store

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • Structured Streaming
    • None

    Description

      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.

      Attachments

        Activity

          People

            yunta Yun Tang
            yunta Yun Tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: