Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-725

FRAG: option to discard output stream, so we don't keep large buffers around

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • 2.6.3, 2.7
    • None
    • None

      When we send many small 1K messages, the size of the ByteArrayOutputStream's underlying byte buffer will be 1K (before fragmentation). When we then send a 10MB message, the size is 10MB. When we subsequently only send 1K messages, the 10MB are still kept around.

      SOLUTION: add option to create a new BAOS every time a message is fragmented.

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: