Re: [httpclient] HTTP2: Memory Leak with Proxy

2018-08-08 Thread Albert Schimpf
} } // 3rd heap dump System.out.println("Generating heap dump manually"); // space is not released Thread.sleep(6); } } On 7 Aug 2018, at 17:05, Chris Hegarty wrote: On 7 Aug 2018, at 16:55, Albert Schimpf wrote: Hi, by bad I mean that this pr

Re: [httpclient] HTTP2: Memory Leak with Proxy

2018-08-07 Thread Albert Schimpf
-Chris. On 7 Aug 2018, at 10:25, Albert Schimpf wrote: Hi, I stumbled upon some strange behavior when using the new Java httpclient. The issue is very simple to reproduce. Send a GET request via a known bad proxy: HttpClient client = HttpClient.newBuilder() .proxy(ProxyS

[httpclient] HTTP2: Memory Leak with Proxy

2018-08-07 Thread Albert Schimpf
Hi, I stumbled upon some strange behavior when using the new Java httpclient. The issue is very simple to reproduce. Send a GET request via a known bad proxy: HttpClient client = HttpClient.newBuilder()     .proxy(ProxySelector.of(BAD_PROXY))     .build(); Htt