svgo
svgo copied to clipboard
Error: EMFILE: too many open files
Describe the bug When run svgo recursive into a foler tree with huge of vectors files get EMFILE: too many open files
To Reproduce Have a vectors folder with huge ammount of svg files and run: svgo -f vectors --multipass --pretty -r Get: Error: EMFILE: too many open files, open 'cloudy-day.svg'
Expected behavior Run over all files
Desktop (please complete the following information):
- SVGO Version 3.2.0
- NodeJs Version v16.13.0
- OS: Windows 10, 64bits
My 2 cents: I've hit this issue in the past with other tools and it seems that using graceful-fs was a quick way to fix the issue.