svgo icon indicating copy to clipboard operation
svgo copied to clipboard

Error: EMFILE: too many open files

Open codermapuche opened this issue 1 year ago • 1 comments

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

codermapuche avatar Jan 28 '24 00:01 codermapuche

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.

XhmikosR avatar Jan 31 '24 08:01 XhmikosR