You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/21 04:43:58 UTC

[jira] [Commented] (GEODE-1509) Reduce the memory usage of GatewayEventCallbackArgument

    [ https://issues.apache.org/jira/browse/GEODE-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15682495#comment-15682495 ] 

ASF GitHub Bot commented on GEODE-1509:
---------------------------------------

GitHub user ameybarve15 opened a pull request:

    https://github.com/apache/incubator-geode/pull/292

    [GEODE-1509] Fixed : Reduce the memory usage of GatewayEventCallbackArgument

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ameybarve15/incubator-geode feature/GEODE-1509

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-geode/pull/292.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #292
    
----
commit 3a08755f92a9558581e5df84172cf014d949415e
Author: Amey Barve <ab...@apache.org>
Date:   2016-11-17T12:34:07Z

    GEODE-1509: replacing HashSet<Integer> of recipient gateways with
    IntOpenHashSet

commit a0861f429b73faa169b4fc6df20f114c08e34e28
Author: Amey Barve <ab...@apache.org>
Date:   2016-11-18T13:44:30Z

    GEODE-1509: Fix for failing AnalyzeSerializablesJUnitTest.testDataSerializables test.

----


> 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)