You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2018/02/08 15:43:00 UTC

[jira] [Resolved] (SPARK-21860) Improve memory reuse for heap memory in `HeapMemoryAllocator`

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

Wenchen Fan resolved SPARK-21860.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.0

Issue resolved by pull request 19077
[https://github.com/apache/spark/pull/19077]

> Improve memory reuse for heap memory in `HeapMemoryAllocator`
> -------------------------------------------------------------
>
>                 Key: SPARK-21860
>                 URL: https://issues.apache.org/jira/browse/SPARK-21860
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: liuxian
>            Assignee: liuxian
>            Priority: Minor
>             Fix For: 2.4.0
>
>
> In `HeapMemoryAllocator`, when allocating memory from pool,  and the key of pool is memory size.
> Actually  some size of memory ,such as 1025bytes,1026bytes,......1032bytes,  we can think they are the sameļ¼Œbecause we allocate memory in multiples of 8 bytes.
> In this case, we can improve memory reuse.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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