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

Cached blockInfo in BlockMatrix.scala is never released

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: MLlib
    • Labels:
      None

      Description

      The private variable blockInfo in mllib.linalg.distribtued.BlockMatrix is never unpersisted since a BlockMatrix instance is created.

       private lazy val blockInfo = blocks.mapValues(block => (block.numRows, block.numCols)).cache()
      

      I think we should add an API to unpersist this variable.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              spark_cachecheck IcySanwitch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: