Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2184

Improve memory reuse for heap memory in `HeapMemoryAllocator`

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0, 1.3.1
    • core
    • None

    Description

      The description in 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.

      Attachments

        Issue Links

          Activity

            People

              zzcclp Zhichao Zhang
              zzcclp Zhichao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 10m
                  4h 10m