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

Dispose off-heap memory when MemoryStore is cleared

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.0.0
    • None
    • Spark Core
    • None

    Description

      If buffer in MemoryStore's SerializedMemoryEntry is allocated off-heap, current clear() action doesn't dispose them. These off-heap memory, though, will be freed when process ends, but for application that need to stop and restart SparkContext serveral times, this may cause some kind of off-heap memory leak.
      It may be better to dispose off-heap memory by itself when clearing MemoryStore.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              SongYadong SongYadong
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 48h
                  48h
                  Remaining:
                  Remaining Estimate - 48h
                  48h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified