Dong Wang created SPARK-30548: --------------------------------- Summary: Cached blockInfo in BlockMatrix.scala is never released Key: SPARK-30548 URL: https://issues.apache.org/jira/browse/SPARK-30548 Project: Spark Issue Type: Improvement Components: MLlib Affects Versions: 2.4.4 Reporter: Dong Wang
The private variable _blockInfo_ in mllib.linalg.distribtued.BlockMatrix is never unpersisted since a BlockMatrix instance is created. {code:scala} private lazy val blockInfo = blocks.mapValues(block => (block.numRows, block.numCols)).cache() {code} I think we should add an API to unpersist this variable. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org