spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-21860) Improve memory reuse for heap memory in `HeapMemoryAllocator`
Date Fri, 09 Feb 2018 08:49:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-21860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16358114#comment-16358114
] 

Apache Spark commented on SPARK-21860:
--------------------------------------

User 'mgaido91' has created a pull request for this issue:
https://github.com/apache/spark/pull/20558

> 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