awslabs / amazon-sqs-java-extended-client-lib

An extension to the Amazon SQS client that enables sending and receiving messages up to 2GB via Amazon S3.
Apache License 2.0
209 stars 109 forks source link

Closes the S3 client to avoid memory leak #80

Closed vbuitoni closed 1 year ago

vbuitoni commented 1 year ago

Issue #, if available:

Description of changes:

During load test, we detected a memory leak due to the ExtendedClient closing only the SQS connection, but never closing the S3 connection, leading to the memory leak.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.