Describe the feature
Currently there is a hardcoded value for DEFAULT_DIRECTORY_TRANSFER_MAX_CONCURRENCY in TransferConfigurationOption of 100 added in #5031. When using the S3TransferManager with limited java heap allocation, this can cause OutOfMemory errors due to number of concurrent file downloads.
Customers would like the ability to specify transferDirectoryMaxConcurrency during creation of the S3TransferManager.
Use Case
Currently on smaller heap sizes, we can get OutOfMemory Errors with downloadDirectory. See #6323
Proposed Solution
Add parameter to specify transferDirectoryMaxConcurrency during creation of the S3TransferManager. See https://github.com/aws/aws-sdk-java-v2/pull/6329/files
Other Information
No response
Acknowledgements
AWS Java SDK version used
2.32.18
JDK version used
17
Operating System and version
AmazonLinux2023
Describe the feature
Currently there is a hardcoded value for DEFAULT_DIRECTORY_TRANSFER_MAX_CONCURRENCY in TransferConfigurationOption of
100added in #5031. When using the S3TransferManager with limited java heap allocation, this can cause OutOfMemory errors due to number of concurrent file downloads.Customers would like the ability to specify transferDirectoryMaxConcurrency during creation of the S3TransferManager.
Use Case
Currently on smaller heap sizes, we can get OutOfMemory Errors with
downloadDirectory. See #6323Proposed Solution
Add parameter to specify transferDirectoryMaxConcurrency during creation of the S3TransferManager. See https://github.com/aws/aws-sdk-java-v2/pull/6329/files
Other Information
No response
Acknowledgements
AWS Java SDK version used
2.32.18
JDK version used
17
Operating System and version
AmazonLinux2023