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

Udo Kohlmeyer commented on GEODE-1156:
--------------------------------------

Please generate a pull request. I'll pick up the request then.

> 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
>
> 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
(v6.3.4#6332)

Reply via email to