[ https://issues.apache.org/jira/browse/SPARK-21860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liuxian updated SPARK-21860: ---------------------------- Summary: Improve memory reuse for heap memory in `HeapMemoryAllocator` (was: Optimize heap memory allocator) > 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 > Priority: Minor > > 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 (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org