Re: HttpClientBuilder Memory Leak

2016-02-02 Thread David Skalka
sorry i dont understand you. What do you mean by "what does this all tell you" ? 2016-02-02 20:21 GMT+01:00 Oleg Kalnichevski : > On Tue, 2016-02-02 at 19:30 +0100, David Skalka wrote: > > Here is long running snapshot with types > > > >

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread David Skalka
what is it "own data" ? 2016-02-02 21:11 GMT+01:00 Oleg Kalnichevski : > On Tue, 2016-02-02 at 20:58 +0100, David Skalka wrote: > > it is simple test application with one while. here is whole source code: > > > > Have you looked at your own data? > > Oleg > > > > > import

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Gary Gregory
Does it not look like there is one of more Map that is growing? Gary On Tue, Feb 2, 2016 at 11:42 AM, David Skalka wrote: > sorry i dont understand you. What do you mean by "what does this all tell > you" ? > > 2016-02-02 20:21 GMT+01:00 Oleg Kalnichevski

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Oleg Kalnichevski
On Tue, 2016-02-02 at 19:30 +0100, David Skalka wrote: > Here is long running snapshot with types > > https://drive.google.com/open?id=0B8cERbS5JTTtZkVpWmhVWS11UkU And what does this all tell you? Oleg > > 2016-02-02 17:22 GMT+01:00 Gary Gregory : > > > Can you look

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Dan Quaroni
What version of HttpClient are you using? I cut the sleep down to 1ms and have had it running for 25 minutes and am not observing any such memory leak. On Tue, Feb 2, 2016 at 3:21 PM, Oleg Kalnichevski wrote: > On Tue, 2016-02-02 at 21:16 +0100, David Skalka wrote: > > what

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Oleg Kalnichevski
On Tue, 2016-02-02 at 20:42 +0100, David Skalka wrote: > sorry i dont understand you. What do you mean by "what does this all tell > you" ? > Have you taken even a cursory look at your own data? What makes you think there is a leak in HttpClient? Oleg > 2016-02-02 20:21 GMT+01:00 Oleg

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread David Skalka
4.4.1 2016-02-02 21:29 GMT+01:00 Dan Quaroni : > What version of HttpClient are you using? I cut the sleep down to 1ms and > have had it running for 25 minutes and am not observing any such memory > leak. > > On Tue, Feb 2, 2016 at 3:21 PM, Oleg Kalnichevski

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread David Skalka
Here is long running snapshot with types https://drive.google.com/open?id=0B8cERbS5JTTtZkVpWmhVWS11UkU 2016-02-02 17:22 GMT+01:00 Gary Gregory : > Can you look and see what kind of objects are retained? > > Gary > On Feb 2, 2016 2:33 AM, "David Skalka"

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Dan Quaroni
Ah. I'm using 4.5. Perhaps it's no longer an issue. On Tue, Feb 2, 2016 at 3:34 PM, David Skalka wrote: > 4.4.1 > > 2016-02-02 21:29 GMT+01:00 Dan Quaroni : > > > What version of HttpClient are you using? I cut the sleep down to 1ms > and > > have had

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread David Skalka
I updated httpclient to 4.5.1 and after 30minutes I see same result. memory is growing up 2016-02-02 21:51 GMT+01:00 Dan Quaroni : > I don't really know what program is producing this image, but what I see in > this picture is that there are a lot of Strings in memory, which

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Oleg Kalnichevski
On Tue, 2016-02-02 at 15:29 -0500, Dan Quaroni wrote: > What version of HttpClient are you using? I cut the sleep down to 1ms and > have had it running for 25 minutes and am not observing any such memory > leak. > If one takes even a cursory look at the memory profile one can clearly see that

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Oleg Kalnichevski
On Tue, 2016-02-02 at 20:58 +0100, David Skalka wrote: > it is simple test application with one while. here is whole source code: > Have you looked at your own data? Oleg > > import java.io.IOException; > > import org.apache.http.impl.client.CloseableHttpClient; > import

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Oleg Kalnichevski
On Tue, 2016-02-02 at 21:16 +0100, David Skalka wrote: > what is it "own data" ? > https://drive.google.com/open?id=0B8cERbS5JTTtZkVpWmhVWS11UkU Oleg > 2016-02-02 21:11 GMT+01:00 Oleg Kalnichevski : > > > On Tue, 2016-02-02 at 20:58 +0100, David Skalka wrote: > > > it is

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Gary Gregory
Can you look and see what kind of objects are retained? Gary On Feb 2, 2016 2:33 AM, "David Skalka" wrote: > Why this code causes a memory leak? > > code: > > *while(true){* > * CloseableHttpClient httpclient = HttpClientBuilder.create().build();* > *