Reputation: 1748
I am using AWS DataSync to copy an S3 bucket from one region to another in the same account. For a few of my buckets, the DataSync task execution is failing with the error "Cannot allocate memory". It works for other buckets though. I am guessing that the failing bucket might be too big for DataSync to handle but I am not sure.
How can I fix the issue?
Upvotes: 0
Views: 36
Reputation: 13
How are you transferring the data? Did you set up an EC2 instance and run the DataSync agent there? If so, you might need to allocate more memory.
If you're doing it without an EC2 instance, I think you're right — the bucket might be too large. You should consider filtering the data and transferring it step by step, especially if it's a one-time operation.
If this also does not work you may need to contact support - in my experience DataSync behaves weird sometimes and I had multiple cases where the support had to fix something for me, before it worked.
Upvotes: 0