You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/11/05 05:49:24 UTC

[jira] [Commented] (THRIFT-2541) reclaim TFramedTransport's read and write buffers for thrift cpp

    [ https://issues.apache.org/jira/browse/THRIFT-2541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197595#comment-14197595 ] 

Hudson commented on THRIFT-2541:
--------------------------------

SUCCESS: Integrated in Thrift #1331 (See [https://builds.apache.org/job/Thrift/1331/])
THRIFT-2541 reclaim TFramedTransport's read and write buffers for thrift cpp (jensg: rev 1a3632351ee2e16635962fb133e65a3816ce4c93)
* lib/cpp/src/thrift/transport/TBufferTransports.cpp
* lib/cpp/src/thrift/transport/TBufferTransports.h
THRIFT-2541 fixed C4003 with VC2012 around max() (jensg: rev 5c0e987ac10ef4c16fdca68397dc380e5d8466b3)
* lib/cpp/src/thrift/transport/TBufferTransports.h


> reclaim TFramedTransport's read and write buffers for thrift cpp
> ----------------------------------------------------------------
>
>                 Key: THRIFT-2541
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2541
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Library
>    Affects Versions: 0.9.1
>            Reporter: Huabin
>            Assignee: Jens Geyer
>             Fix For: 0.9.2
>
>         Attachments: THRIFT-2541.patch, THRIFT-2541.reclaim_in_flush.patch, THRIFT-2541_fix-c4003-with-vc2012.patch
>
>
> The internal read and write buffer holds more and more memory but with no chance to reclaim , which causes service that use thrift client pool takes a large amount of memory. A thresh can be set that trades off between malloc and free memory frequently and amount of memory usage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)