spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Truchet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-16440) Undeleted broadcast variables in Word2Vec causing OoM for long runs
Date Fri, 08 Jul 2016 12:46:10 GMT
Anthony Truchet created SPARK-16440:
---------------------------------------

             Summary: Undeleted broadcast variables in Word2Vec causing OoM for long runs

                 Key: SPARK-16440
                 URL: https://issues.apache.org/jira/browse/SPARK-16440
             Project: Spark
          Issue Type: Bug
          Components: MLlib
    Affects Versions: 1.6.2, 1.6.1, 1.6.0, 2.0.0
            Reporter: Anthony Truchet


Three broadcast variables created at the beginning of {{Word2Vec.fit()}} are never deleted
nor unpersisted. This seems to cause excessive memory consumption on the driver for a job
running hundreds of successive training.

They are 
{code}
    val expTable = sc.broadcast(createExpTable())
    val bcVocab = sc.broadcast(vocab)
    val bcVocabHash = sc.broadcast(vocabHash)
{code}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message