thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Geyer <>
Subject AW: Leak in TTransport?
Date Sat, 21 Dec 2013 08:05:25 GMT
Hi Oliver,

is this related to THRIFT-2293 or is it another, completely unrelated leak?

Von: Oliver Zemann
Gesendet: 20.12.2013 16:29
Betreff: Leak in TTransport?


Is it possible that there is a leak in at line 123?
It is:
TTransport client = serverTransport_.accept();
        WorkerProcess wp = new WorkerProcess(client);
        while(true) { ...

The Javadoc says the TTransport is a IO Wrapper like any Stream in Java.
For me this means, after the client has been used, it needs a
client.close(), doesnt it?

I am facing a memory leak and thats where it crashes so i am wondering if
this could be the problem.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message