[
https://issues.apache.org/jira/browse/HDFS-7276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185720#comment-14185720
]
Tsz Wo Nicholas Sze commented on HDFS-7276:
-------------------------------------------
> Are Packet objects long-lived? Do they regularly become part of the JVM's
> PermGen? ...
They can be long-lived, depending on the load of the datanodes in the pipeline.
We do see full gc in some tests.
> ... I think we definitely need to make this configurable, not mandatory as it
> is in this patch. ...
Sure, we will make it configurable as mentioned previously.
> Limit the number of byte arrays used by DFSOutputStream
> -------------------------------------------------------
>
> Key: HDFS-7276
> URL: https://issues.apache.org/jira/browse/HDFS-7276
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs-client
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Attachments: h7276_20141021.patch, h7276_20141022.patch,
> h7276_20141023.patch, h7276_20141024.patch
>
>
> When there are a lot of DFSOutputStream's writing concurrently, the number of
> outstanding packets could be large. The byte arrays created by those packets
> could occupy a lot of memory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)