Skip to content

NettyNioAsyncHttpClient Channel Cache Memory Usage #2247

Description

@langrp

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions