[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-commons-dev
Subject:    [jira] [Comment Edited] (HTTPASYNC-94) LinkedList  memory leak
From:       "Zheyuan Chen (JIRA)" <jira () apache ! org>
Date:       2018-09-14 3:36:00
Message-ID: JIRA.12909591.1446452829000.72943.1536896160222 () Atlassian ! JIRA
[Download RAW message or body]


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


Zheyuan Chen edited comment on HTTPASYNC-94 at 9/14/18 3:35 AM:
----------------------------------------------------------------

I have observed exactly the same  issue in my code. I found it was caused by the \
default settings of maxConnection (20) and maxConnectionPerRoute (2). After setting \
those configs to higher numbers, the problem  was solved.


was (Author: czheo):
I have observed exactly the same  issue in my code. I found it was caused by the \
default settings of maxConnection (20) and maxConnectionPerRoute (2). After setting \
those configs to a higher number, the problem is solved.

> 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
> Priority: Major
> 
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic