-
Notifications
You must be signed in to change notification settings - Fork 341
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
MemoryError when downloading a large file from S3 with community.aws 8.0.0 #2107
Labels
Comments
Caused by #1139 Thanks for opening this issues @eacherkan-aternity The |
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
May 22, 2024
s3_object - fix MemoryError when downloading large files SUMMARY fixes: #2107 The refactor in #1139 is triggering a full download of the file into memory when downloading files, this downloaded content was then being thrown away. ISSUE TYPE Bugfix Pull Request COMPONENT NAME s3_object ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis Reviewed-by: Bikouo Aubin
patchback bot
pushed a commit
that referenced
this issue
May 22, 2024
s3_object - fix MemoryError when downloading large files SUMMARY fixes: #2107 The refactor in #1139 is triggering a full download of the file into memory when downloading files, this downloaded content was then being thrown away. ISSUE TYPE Bugfix Pull Request COMPONENT NAME s3_object ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis Reviewed-by: Bikouo Aubin (cherry picked from commit 4829217)
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
May 29, 2024
[PR #2108/48292178 backport][stable-8] s3_object - fix MemoryError when downloading large files This is a backport of PR #2108 as merged into main (4829217). SUMMARY fixes: #2107 The refactor in #1139 is triggering a full download of the file into memory when downloading files, this downloaded content was then being thrown away. ISSUE TYPE Bugfix Pull Request COMPONENT NAME s3_object ADDITIONAL INFORMATION Reviewed-by: Mark Chappell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When downloading a ~650MB file from S3 with the
aws_s3
module, aMemoryError
is thrown. The same role works well withcommunity.aws
7.2.0.Issue Type
Bug Report
Component Name
aws_s3
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
Docker (
quay.io/ansible/awx-ee:latest
image) on Amazon Linux 2Steps to Reproduce
Expected Results
Successful file download.
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: