[jira] [Updated] (CARBONDATA-2184) Improve memory reuse for heap memory in `HeapMemoryAllocator`

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (CARBONDATA-2184) Improve memory reuse for heap memory in `HeapMemoryAllocator`

Akash R Nilugal (Jira)

     [ 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)