You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/03/16 22:56:03 UTC
[jira] [Updated] (SPARK-30548) Cached blockInfo in
BlockMatrix.scala is never released
[ https://issues.apache.org/jira/browse/SPARK-30548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-30548:
----------------------------------
Affects Version/s: (was: 3.0.0)
3.1.0
> 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: 3.1.0
> Reporter: CacheCheck
> Priority: Minor
>
> 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