You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ryan Williams (JIRA)" <ji...@apache.org> on 2015/01/12 23:38:34 UTC

[jira] [Closed] (SPARK-4667) Spillable can request more than twice its current memory from pool

     [ https://issues.apache.org/jira/browse/SPARK-4667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Williams closed SPARK-4667.
--------------------------------
    Resolution: Not a Problem

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org