hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "len.liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-362) Memory leak in rout key of AbstractConnPool's routeToPool
Date Thu, 21 Nov 2013 12:58:35 GMT

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

len.liu commented on HTTPCORE-362:
----------------------------------

Thank you for your patch, it resolved my problem :=D
If any problem, i will report it.

> Memory leak in rout key of AbstractConnPool's routeToPool 
> ----------------------------------------------------------
>
>                 Key: HTTPCORE-362
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-362
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>            Reporter: len.liu
>         Attachments: HTTPCORE-362.patch
>
>
> routeToPool which is a map,could not  release any route key anytime, it only releases
value object based on the setting number of 'maxTotal' and 'MaxPerRoute',  so the routeToPool(exactly
the route keys), will use larger and larger memory util JVM is out of memory.
> This problem will happened when requesting lots of different  HttpHost.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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


Mime
View raw message