[13.0] MemoryError
in website_sale
post-migration
with many images
#4712
Labels
MemoryError
in website_sale
post-migration
with many images
#4712
module
website_sale
describe the bug
when running a migration from 12.0 to 13.0 with many
product.image
records, the migration fails after displaying manyMemoryError
errors.to reproduce
affected versions: upgrade to 13.0
steps to reproduce the behavior:
website_sale
installed and having manyproduct.image
records (in my case, 21k).expected behavior
the database and its filestore should be correctly upgraded to 13.0.
additional context
log:
i tried using
openupgrade.chunked()
to iterate over the attachments. it doesn’t prevent theMemoryError
errors, but it stops trying later.The text was updated successfully, but these errors were encountered: