You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dong Wang (Jira)" <ji...@apache.org> on 2020/01/17 08:52:00 UTC
[jira] [Created] (SPARK-30548) Cached blockInfo in
BlockMatrix.scala is never released
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org