Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7321

Add a mechanism to clean up the free queue in ByteArrayManager

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      ByteArrayManager is designed to limit the number of byte arrays allocated. It also provide a mechanism for recycling arrays. It uses a free queue to store the recycled arrays internally. When the free queue size is large and there is no array allocation for a certain time period, it should gradually release the arrays for reducing the memory usage.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                szetszwo Tsz-wo Sze
                Reporter:
                szetszwo Tsz-wo Sze
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: