8000 Memory exhausts when there is very large amount of images to delete. · Issue #4 · ThomasNegeli/M2CliTools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Memory exhausts when there is very large amount of images to delete. #4
Open
@nahidacm

Description

@nahidacm

For some core migration bug my system generated 170 GB of duplicate images.
When I tried to clean those images, this module ran out of memory allocation.

I understand that, to be more interactive, you had to store all the image file names into an Array.
And that caused the issue.

It would be great if you could add another flag which will directly delete the unnecessary images rather than storing the names in array.

CleanupUnusedProductMedia.php.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0