[
https://issues.apache.org/jira/browse/FLUME-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451447#comment-13451447
]
Ted Malaska commented on FLUME-1535:
------------------------------------
Just noting a comment by Mike P that should be remembered when reviewing this
patch
"One possibly tricky issue is incrementing the memory usage on put (but undoing
it on rollback) and only decrementing it on commit of takes."
> Ability to specify the capacity of MemoryChannel in bytes
> ---------------------------------------------------------
>
> Key: FLUME-1535
> URL: https://issues.apache.org/jira/browse/FLUME-1535
> Project: Flume
> Issue Type: Improvement
> Components: Channel
> Affects Versions: v1.2.0
> Reporter: Jayant Shekhar
> Labels: patch
> Fix For: v1.3.0
>
>
> Users should be able to specify the capacity of memory channel in bytes.
> Currently users are able to specify the capacity in terms of max number of
> events. This causes issues when the size of the events can vary significantly
> (a couple of KB to MB) and could easily result in the Flume agent running
> into OOM.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira