Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-21090

Optimize the unified memory manager code

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.2.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      1.In acquireStorageMemory, when the MemoryMode is OFF_HEAP ,the maxMemory should be modified to maxOffHeapStorageMemory
      2. Borrow memory from execution, numBytes modified to numBytes - storagePool.memoryFree will be more reasonable

        Attachments

          Activity

            People

            • Assignee:
              10110346 liuxian
              Reporter:
              10110346 liuxian
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: