Ryan Williams created SPARK-4667:
------------------------------------

             Summary: Spillable can request more than twice its current memory 
from pool
                 Key: SPARK-4667
                 URL: https://issues.apache.org/jira/browse/SPARK-4667
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
            Reporter: Ryan Williams


[Spillable|https://github.com/apache/spark/blob/0eb4a7fb0fa1fa56677488cbd74eb39e65317621/core/src/main/scala/org/apache/spark/util/collection/Spillable.scala#L78]
 has a comment that says "{{Claim up to double our current memory from the 
shuffle memory pool}}", but then it proceeds to request {{2 * currentMemory - 
myMemoryThreshold}}, which can more than double its current memory amount. The 
requested amount (or the comment) should be changed.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to