You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2019/03/29 22:26:03 UTC

[jira] [Updated] (GEODE-1156) Chunked message should cache HeapDataOutputStream objects

     [ https://issues.apache.org/jira/browse/GEODE-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Baker updated GEODE-1156:
---------------------------------
    Labels: needs-review  (was: )

> Chunked message should cache HeapDataOutputStream objects
> ---------------------------------------------------------
>
>                 Key: GEODE-1156
>                 URL: https://issues.apache.org/jira/browse/GEODE-1156
>             Project: Geode
>          Issue Type: Improvement
>          Components: messaging
>            Reporter: Robert Geiger
>            Priority: Major
>              Labels: needs-review
>
> For a Message the Part's are cached and re-used but for a ChunkedMessage in say a getAll request a new HeapDataOutputStream object is created for each chunk. For a large message this leads to many objects being created on heap during a data transfer. HeapDataOutputStream objects should be cached in a way similar to is done with Part's. Note HeapDataOutputStream already has a reset() method to clear the object for re-use.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)