aws / aws/aws-sdk-java-v2

NettyNioAsyncHttpClient Channel Cache Memory Usage

Open
#2,247 9 comments 0 reactions 0 assignees View on GitHub
bug p3
Dominant language
Java
Stars
2.6k
Forks
1k
Avg merge
2d 9h
Merged PRs (30d)
51

Description

## Describe the issue
We're using `S3AsyncClient` to process customer data from S3. As such we create shared instance of `NettyNioAsyncHttpClient` for s3 clients. The `NettyNioAsyncHttpClient` holds pool of netty channels for each bucket we process. This can grow significantly with number of customers. Could there be such cache per region?

## Steps to Reproduce
Long running app periodically accessing customers S3 buckets. The memory grows with number of customers.

## Your Environment

* AWS Java SDK version used: 2.15.45
* JDK version used: 11
* Operating System and version:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.