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

UnsafeExternalSorter.SpillableIterator cannot spill after reading all records

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.7, 3.0.1
    • 3.1.0, 3.0.4
    • Spark Core
    • None

    Description

      No memory is freed after calling UnsafeExternalSorter.SpillableIterator.spill() when all records have been read, even though it is still holding onto some memory. This may starve other {{MemoryConsumer}}s of memory.

      Attachments

        Activity

          People

            tomvanbussel Tom van Bussel
            tomvanbussel Tom van Bussel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: