magento2-s3 icon indicating copy to clipboard operation
magento2-s3 copied to clipboard

Out of memory errors

Open superdav42 opened this issue 7 years ago • 2 comments

Getting memory limit errors when running s3:storage:export after uploading several GBs. php memory_limit=2G so something is likely leaking memory. The real problem is it starts over from the beginning when running the command again. Is there a way to tell it to continue where it left off?

superdav42 avatar Aug 20 '18 20:08 superdav42

Hi @superdav42

Sorry for the late response. Yeah, I can see how that is a problem!

I was going through other people's forks of my code and I saw that somebody had the same problem as you and had made some code changes to his fork to address it. So it's possible! I'll see what I can do.

Regards,

Thai

thaiphan avatar Oct 14 '18 00:10 thaiphan

Create a memory swap if you are using Unix.

Hackinet avatar Jul 08 '21 07:07 Hackinet