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)

Reply via email to