You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2015/11/02 10:54:27 UTC
[jira] [Commented] (HTTPASYNC-94) LinkedList memory leak
[ https://issues.apache.org/jira/browse/HTTPASYNC-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984989#comment-14984989 ]
Oleg Kalnichevski commented on HTTPASYNC-94:
--------------------------------------------
My guess is that your own code leaks PoolingNHttpClientConnectionManager instances and as a result you end up with tons of LinkedList instances on the heap. One is not supposed to have more than one (or very few) PoolingNHttpClientConnectionManager instances.
Oleg
> LinkedList memory leak
> -----------------------
>
> Key: HTTPASYNC-94
> URL: https://issues.apache.org/jira/browse/HTTPASYNC-94
> Project: HttpComponents HttpAsyncClient
> Issue Type: Bug
> Affects Versions: 4.1
> Environment: httpclient 4.4
> httpcore 4.4
> httpcore-nio 4.4
> httpasyncclient 4.1
> Reporter: sunqi
>
> Class Name Shallow Heap Retained Heap
> java.util.LinkedList @ 0x750a89d08 32 3657440400
> org.apache.http.impl.nio.conn.CPool @ 0x750a86508 88 3764053968
> org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager @ 0x751d65730 32 5640
> org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1 @ 0x752621b08 24 24
> java.lang.Thread @ 0x751d470f8 pool-17-thread-1 104 5184
> org.apache.http.impl.nio.client.InternalHttpAsyncClient @ 0x7537dd778 72 88
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org