Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-1156

Chunked message should cache HeapDataOutputStream objects

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • messaging

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rlgeiger Robert Geiger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: