Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1457

Capacity of TframedTransport write buffer is never reset

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.1
    • Fix Version/s: 0.9.2
    • Component/s: Java - Library
    • Labels:
      None

      Description

      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.

        Attachments

        1. THRIFT-1457.patch
          0.9 kB
          Arthur Meyer

          Issue Links

            Activity

              People

              • Assignee:
                roger Roger Meier
                Reporter:
                arthurm Arthur Meyer
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: