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

ShuffleBlockFetchIterator keeps localBlocks in its memory even though it never uses it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • 2.4.5
    • None
    • Shuffle, Spark Core
    • None

    Description

      The localBlocks is created and used in the initialize method of ShuffleBlockFetchIterator but is never used after that. 
      It can be local to the initialize method instead of being a field in the ShuffleBlockFetchIterator instance. It holds on to memory until iterator instance is alive which is unnecessary.

      Attachments

        Activity

          People

            Unassigned Unassigned
            csingh Chandni Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: