[ https://issues.apache.org/jira/browse/GEODE-8491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203674#comment-17203674 ]
ASF subversion and git services commented on GEODE-8491: -------------------------------------------------------- Commit 169ca6add2887c6560f30a5ad12ceb088411e973 in geode's branch refs/heads/develop from Alberto Gomez [ https://gitbox.apache.org/repos/asf?p=geode.git;h=169ca6a ] GEODE-8491: Do not store dropped events in stopped primary gateway se… (#5509) * GEODE-8491: Do not store dropped events in stopped primary gateway sender when possible Instead of storing dropped events in tmpDroppedEvents to later send batch removal messages when the primary gateway sender is not started, try to send the batch removal message when the event to be dropped is received. That way, when the sender is stopped for a long time and there are events coming, the memory of the AbstractGatewaySender will not grow with entries in the tmpDroppedEvents member. > Events received when gateway sender is stopped use heap memory > -------------------------------------------------------------- > > Key: GEODE-8491 > URL: https://issues.apache.org/jira/browse/GEODE-8491 > Project: Geode > Issue Type: Bug > Components: wan > Affects Versions: 1.7.0, 1.8.0, 1.9.0, 1.9.1, 1.10.0, 1.9.2, 1.11.0, > 1.12.0, 1.13.0 > Reporter: Alberto Gomez > Assignee: Alberto Gomez > Priority: Major > Labels: pull-request-available > > When a gateway sender is stopped, events received are stored in a member > variable of the sender (tmpDroppedEvents) to be later sent to secondary > gateway senders to remove these dropped events from their queues. > This events use heap memory from the member and could eventually fill up the > available memory. > See RFC > [https://cwiki.apache.org/confluence/display/GEODE/Avoid+the+queuing+of+dropped+events+by+the+primary+gateway+sender+when+the+gateway+sender+is+stopped] > -- This message was sent by Atlassian Jira (v8.3.4#803005)