Skip to content

Error: EMFILE: too many open files #1946

@codermapuche

Description

@codermapuche

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions