Skip to content

memory allocation of x bytes failed #683

Open
@guilhermesimoes

Description

@guilhermesimoes

On Windows 11 I have a folder of about 20 images, each image with a size between 10 to 20 MB.

Running this command inside the folder:

oxipng.exe -o max --strip safe --alpha *.png

results in the following error:

memory allocation of 8597908 bytes failed

If I run oxipng on each image individually it works.

It appears that when using a wildcard / glob oxipng tries to load all the images at once and so it runs out of memory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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