[
https://issues.apache.org/jira/browse/GEODE-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15705936#comment-15705936
]
ASF GitHub Bot commented on GEODE-1509:
---------------------------------------
Github user upthewaterspout commented on the issue:
https://github.com/apache/incubator-geode/pull/292
+1 I think this should save 16 bytes per entry. The changes look good to
me! I'll merge them.
> Reduce the memory usage of GatewayEventCallbackArgument
> -------------------------------------------------------
>
> Key: GEODE-1509
> URL: https://issues.apache.org/jira/browse/GEODE-1509
> Project: Geode
> Issue Type: Improvement
> Components: wan
> Reporter: Dan Smith
> Assignee: Amey Barve
>
> GatewayEventCallbackArgument has a HashSet<Integer> of recipient gateways.
> Because we create a ton of these things, these sets end up consuming a lot of
> memory.
> It should probably use IntOpenHashSet initialized with a small size, eg new
> IntOpenHashSet(2).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)