spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-21860) Improve memory reuse for heap memory in `HeapMemoryAllocator`
Date Thu, 08 Feb 2018 15:43:00 GMT

     [ 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


Mime
View raw message