Hi Oli,

my question was only intended to suggest about a possible duplicate. If you found it is indeed a different problem, we of course appreciate and will gladly review any patches that you might already have to solve the issue for you.

http://thrift.apache.org/docs/HowToContribute

Thank you!
JensG


-----Ursprüngliche Nachricht----- From: Oliver Zemann
Sent: Monday, December 23, 2013 4:21 PM
To: [email protected]
Subject: Re: Leak in TTransport?

Hi

I just created my own 0.9.1 with the patch. This is running now until
next year and we will see if the OOM still occurs.
Thanks.

Regards,
Oli

Am 21.12.2013 09:05, schrieb Jens Geyer:
Hi Oliver,

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

Thanks,
JensG
________________________________
Von: Oliver Zemann
Gesendet: 20.12.2013 16:29
An: [email protected]
Betreff: Leak in TTransport?

Hi

Is it possible that there is a leak in TThreadPoolServer.java 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.

Regards
Oliver

Reply via email to