S3 client creation leaks memory #823
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
pending-release
This issue will be fixed by an approved PR that hasn't been released yet.
Describe the bug
Every time a crt S3 client is created it will leak memory, as it is not cleaning up its TLS Contexts correctly.
This issue was detected in our production environment and is also tracked under AWS Support ticket172363023300722.
Expected Behavior
Memory leaks
Current Behavior
No Memory Leaks
Reproduction Steps
Execution the following code will exhaust the memory of the machine it runs on:
This snippet was derived from production usage of the higher level
S3AsyncClient.createCrt()
function.Possible Solution
No response
Additional Information/Context
No response
aws-crt-java version used
0.30.3
Java version used
21
Operating System and version
Linux
The text was updated successfully, but these errors were encountered: