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
