gui created HTTPCORE-429:
----------------------------
Summary: pool statistics don't expose all 'pending' requests
Key: HTTPCORE-429
URL: https://issues.apache.org/jira/browse/HTTPCORE-429
Project: HttpComponents HttpCore
Issue Type: Bug
Components: HttpCore NIO
Affects Versions: 4.4.5
Reporter: gui
During a performance run i noticed that the async http client was causing OOM
exceptions.
After enabling pool statistics, i did not see a big 'queue' in the pool (the
'org.apache.http.pool.PoolStats#getPending' method always returns a small
number)
However, after some memory profiling it noticed that the pool has a lot of
pending leaseRequests, but those requests are not exposed in the poolstats.
I think the org.apache.http.pool.PoolStats#getPending should also include the
leaseRequest count.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]