[
https://issues.apache.org/jira/browse/FLUME-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172651#comment-14172651
]
li xiang commented on FLUME-2197:
---------------------------------
Hi Ashish,
I notice that for the mem channel, the byteCapacity is set to 0 and
byteCapacityBufferPercentage is set to 50. According to Flume UG, 200G will be
used as the max bytes this mem channel can allocate from the memory. Given that
Xmx is set to 6G, byteCapacity=0 is not correct, right ? Shall we set
byteCapacity to 50% of 6G or smaller ?
I have a question here: regarding capacity(max number of event) and
byteCapacity(max bytes of event body), mem channel will take some actions when
either of them is reached firstly ? what actions are taken ?
Thanks !
> Memory Channel has GC issues
> ----------------------------
>
> Key: FLUME-2197
> URL: https://issues.apache.org/jira/browse/FLUME-2197
> Project: Flume
> Issue Type: Bug
> Reporter: Hari Shreedharan
> Assignee: Roshan Naik
> Attachments: HA_result.jpg, mem ch - mem alloc.png, spill ch - mem
> alloc.png
>
>
> Due to the fact that we use a LinkedBlockingDeque as the backing queue for
> the MemoryChannel, we end up hitting GC issues more often than we should.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)