You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2014/11/01 21:17:35 UTC

[jira] [Created] (HDFS-7321) Add a mechanism to clean up the free queue in ByteArrayManager

Tsz Wo Nicholas Sze created HDFS-7321:
-----------------------------------------

             Summary: Add a mechanism to clean up the free queue in ByteArrayManager
                 Key: HDFS-7321
                 URL: https://issues.apache.org/jira/browse/HDFS-7321
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Tsz Wo Nicholas Sze
            Assignee: Tsz Wo Nicholas Sze
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)