Bruce Schuchardt created GEODE-1468:
---------------------------------------
Summary: client/server messaging can create large objects
Key: GEODE-1468
URL: https://issues.apache.org/jira/browse/GEODE-1468
Project: Geode
Issue Type: Bug
Components: serialization
Reporter: Bruce Schuchardt
Client/server messaging uses a Message object containint Parts. Each Part
holds a HeapDataOutputStream that serializes the item placed in that Part.
Once the Message finishes transmitting its contents it clears the "parts"
array, setting it to null, but this array may consume a sizeable amount of heap
- mainly in the byte-buffer "chunks" list held in the HeapDataOutputStreams.
It would help with GC if these "chunks" lists were cleared as part of Message
clean-up.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)