[jboss-jira] [JBoss JIRA] Resolved: (JGRP-725) FRAG: option to discard output stream, so we don't keep large buffers around

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Mar 27 12:35:41 EDT 2008


     [ http://jira.jboss.com/jira/browse/JGRP-725?page=all ]

Bela Ban resolved JGRP-725.
---------------------------

    Resolution: Done

Different solution: used max_retained_buffer

> FRAG: option to discard output stream, so we don't keep large buffers around
> ----------------------------------------------------------------------------
>
>                 Key: JGRP-725
>                 URL: http://jira.jboss.com/jira/browse/JGRP-725
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>         Assigned To: Bela Ban
>            Priority: Minor
>             Fix For: 2.6.3, 2.7
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list