[ https://issues.apache.org/jira/browse/THRIFT-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932661#action_12932661 ]
Ryan King commented on THRIFT-963: ---------------------------------- I was told it had a method for shrinking, but I can't seem to find it. > Reuse buffers in TNonblockingServer > ----------------------------------- > > Key: THRIFT-963 > URL: https://issues.apache.org/jira/browse/THRIFT-963 > Project: Thrift > Issue Type: Improvement > Components: Java - Library > Reporter: Bryan Duxbury > Assignee: Bryan Duxbury > Fix For: 0.6 > > > Right now, we reallocate buffers all the time (twice per request!). We should > be able to reuse these buffers quite easily. The only downside to reusing > buffers is that each connection will hold as much memory as the biggest > request they ever saw, which can be wasteful. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.