Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
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
- is related to
-
HDFS-7276 Limit the number of byte arrays used by DFSOutputStream
- Closed