You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're right, it looks like this is an issue when using high optimization levels (-o 6). oxipng is trying to spawn all the compression threads at once, and each thread uses memory. This isn't a problem with -o 2 (8 threads), but -o 6 spawns 648 threads at once.
I'll need to add a limit to the number of threads spawned at one time. Probably 1.5x the number of CPU cores.
Oxipng aec8e41
Used image: https://gist.github.com/zetok/1452501c644959325d45
pls fix?
The text was updated successfully, but these errors were encountered: