[
https://issues.apache.org/jira/browse/FLUME-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773694#comment-13773694
]
Roshan Naik commented on FLUME-2197:
------------------------------------
I noticed this issue when profiling the SpillableChannel.
LinkedBlockingDeque is a bit of an overkill in two respects:
- being a linked list it causes excessive gc
- unecessary locking. Access to it synchronized externally anyways.
I used ArrayDeque<Event> instead in spillable channel.
> 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: Hari Shreedharan
>
> 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 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