Capacity of TframedTransport write buffer is never reset
--------------------------------------------------------

                 Key: THRIFT-1457
                 URL: https://issues.apache.org/jira/browse/THRIFT-1457
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Library
    Affects Versions: 0.6.1
            Reporter: Arthur Meyer


The writeBuffer_ instance variable of TframedTransport can only grow and is 
never reset to its original capacity. This causes memory issues for clients 
using a connection pool.

The size of this buffer grows to 16MB in our application. With a connection 
pool of 50 connections, this leads to a loss up to 800MB.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to