You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Robert Geiger (JIRA)" <ji...@apache.org> on 2016/03/31 22:47:25 UTC
[jira] [Created] (GEODE-1156) Chunked message should cache
HeapDataOutputStream objects
Robert Geiger created GEODE-1156:
------------------------------------
Summary: Chunked message should cache HeapDataOutputStream objects
Key: GEODE-1156
URL: https://issues.apache.org/jira/browse/GEODE-1156
Project: Geode
Issue Type: Improvement
Components: core
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)