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

BlockStatus and StreamBlockId keep on growing result driver OOM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.2, 1.6.1
    • 1.6.2, 2.0.0
    • Spark Core
    • None

    Description

      We have a streaming job using FlumePollInputStream always driver OOM after few days, here is some driver heap dump before OOM

       num     #instances         #bytes  class name
      ----------------------------------------------
         1:      13845916      553836640  org.apache.spark.storage.BlockStatus
         2:      14020324      336487776  org.apache.spark.storage.StreamBlockId
         3:      13883881      333213144  scala.collection.mutable.DefaultEntry
         4:          8907       89043952  [Lscala.collection.mutable.HashEntry;
         5:         62360       65107352  [B
         6:        163368       24453904  [Ljava.lang.Object;
         7:        293651       20342664  [C
      ...
      

      BlockStatus and StreamBlockId keep on growing, and the driver OOM in the end.

      Attachments

        Issue Links

          Activity

            People

              jeanlyn jeanlyn
              jeanlyn jeanlyn
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: