From what I understood Magento2 deleting product behavior, associated images of the deleted product are not removing from media/catalog/product folder.

I need to manage around 11.000 new products in the database 4 seasons/year... after almost 1 year in production, I found 4,5gb of unused images.

I don't really understand possible issues after deleting this images since products are no more in the database. How should I manage such disk usage increase in a Magento2 way?

1 Answer 1


If you do not use product image for creditmemo email or similar thing, you can delete the unused images.

You can do a backup if you find some regression.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.