-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: EMFILE: too many open files #4
Comments
I was searching about this issue and it seams to be a known issue from the node fs module when handling a large number of files. Seems that adding the graceful-fs library is the best option to solve this problem. I will release a new version with the fix for this problem. Thanks for reporting! |
Ideally, you would call By the way, there's a bug with the following lines. Returning true/false in the promise will not stop the file-matcher/lib/filematcher.ts Lines 403 to 422 in 142e898
|
I think that is a good solution to handle the situation and avoid to add a new library. |
Hello, some news about this topic ? |
Hello @DavidNiembro, I will fix it with a similar solution as mentioned by @RainingChain. I will try to release it this week, okay? |
I've been troubled by this problem for days. And as this problem has not been solved for a long time. I have added a new library file-content-matcher to solve it. Beyond that, there are some other options:
Hope it helps. |
I tried running file-matcher on a large project and I got the error:
The text was updated successfully, but these errors were encountered: