-
Notifications
You must be signed in to change notification settings - Fork 884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra disk space usage and delayed uploads when uploading large files to S3 #5439
Comments
@zamzamfp Thanks for submitting the issue. We will investigate and provide updates here. |
Hi @phantumcode, do you have any updates? |
Hi @zamzamfp, answering your questions:
The Amplify Library for Swift behaves the way you suggested and only creates the partial temp files right before they are uploaded. Unless your application absolutely requires the usage of the AWS SDK for iOS for some use case, we recommend you consider migrating to Amplify. |
Hi @ruisebas,Thanks for the response. Would you say the Amplify Library for Swift provides a better solution for uploading large files to S3, especially when compared to |
Yes, the AWS Amplify Library for Swift is a newer multiplatform library that supports many common mobile use cases and takes advantage of Swift's latests improvements and features (e.g. async/await). It's built on top of the new AWS SDK for Swift. Regarding uploading large files specifically, it does support background uploads (within the limitations imposed by the running Operation System). |
Closing as all questions have been answered. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
State your question
We are facing an issue with the transferUtility when using multipart upload to upload large files (e.g., 10GB). The SDK chunks the entire file into smaller parts at the beginning, as stated in this question also, before the upload even starts. This behaviour requires the device to have enough additional storage space (e.g., 10GB extra) to accommodate the chunked file. It also significantly delays the upload process, as it can take up to a minute for the chunking to complete, with no clear indication of this happening unless debug logging is enabled.
Questions:
Which AWS Services are you utilizing?
S3
Environment(please complete the following information):
The text was updated successfully, but these errors were encountered: