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 <david.ska...@gmail.com> 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 <ol...@apache.org>: > > > 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 <garydgreg...@gmail.com>: > > > > > > > Can you look and see what kind of objects are retained? > > > > > > > > Gary > > > > On Feb 2, 2016 2:33 AM, "David Skalka" <david.ska...@gmail.com> > wrote: > > > > > > > > > Why this code causes a memory leak? > > > > > > > > > > code: > > > > > > > > > > *while(true){* > > > > > * CloseableHttpClient httpclient = > > HttpClientBuilder.create().build();* > > > > > * httpclient.close();* > > > > > * Thread.sleep(5);* > > > > > * }* > > > > > > > > > > > > > > > Here is a graph of memory allocation: > > > > > > > > > > https://drive.google.com/file/d/0B8cERbS5JTTtMnUyVXJNZDRFbHM/view > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory