[jboss-jira] [JBoss JIRA] (JBWEB-312) response.setBufferSize() has no effect when using the response writer

Remy Maucherat (JIRA) issues at jboss.org
Thu Apr 9 10:25:19 EDT 2015


    [ https://issues.jboss.org/browse/JBWEB-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057376#comment-13057376 ] 

Remy Maucherat commented on JBWEB-312:
--------------------------------------

It is probably a great bad idea. It won't have any performance benefit, but it uses a lot more memory per connection (the buffer is never discarded, but recycled).

> response.setBufferSize() has no effect when using the response writer
> ---------------------------------------------------------------------
>
>                 Key: JBWEB-312
>                 URL: https://issues.jboss.org/browse/JBWEB-312
>             Project: JBoss Web
>          Issue Type: Bug
>    Affects Versions: JBossWeb-7.5.0.GA
>            Reporter: Aaron Ogburn
>            Assignee: Aaron Ogburn
>
> This is the same issue as https://issues.apache.org/bugzilla/show_bug.cgi?id=55842
> When using the response writer, we end up just flushing the buffer in org.apache.catalina.connector.OutputBuffer.realWriteChars instead of trying to grow the buffer.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list