hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sunqi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPASYNC-94) LinkedList memory leak
Date Tue, 03 Nov 2015 07:03:28 GMT

    [ https://issues.apache.org/jira/browse/HTTPASYNC-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986810#comment-14986810
] 

sunqi commented on HTTPASYNC-94:
--------------------------------

only one PoolingNHttpClientConnectionManager  instance on the heap,and only two linkedList
instances on the heap,one is "leasingRequests", and the other is "available", linkedList is
unlimited,at last it used 3.6G ,  the heap config is -Xms5g -Xmx5g

> 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


Mime
View raw message