You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Zhichao Zhang (JIRA)" <ji...@apache.org> on 2018/02/17 15:17:00 UTC
[jira] [Updated] (CARBONDATA-2184) Improve memory reuse for heap
memory in `HeapMemoryAllocator`
[ https://issues.apache.org/jira/browse/CARBONDATA-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhichao Zhang updated CARBONDATA-2184:
---------------------------------------
Description:
The description in [SPARK-21860|https://issues.apache.org/jira/browse/SPARK-21860]:
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.
> Improve memory reuse for heap memory in `HeapMemoryAllocator`
> -------------------------------------------------------------
>
> Key: CARBONDATA-2184
> URL: https://issues.apache.org/jira/browse/CARBONDATA-2184
> Project: CarbonData
> Issue Type: Improvement
> Components: core
> Reporter: Zhichao Zhang
> Assignee: Zhichao Zhang
> Priority: Minor
> Fix For: 1.3.0, 1.4.0
>
>
> The description in [SPARK-21860|https://issues.apache.org/jira/browse/SPARK-21860]:
> 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)