-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Too many files in src() leads to stack overflow #14
Comments
Has there been any movement on this? It bit me too. |
+1 running into this with src of a complicated set of node_modules |
Have any of you lost file content due to this? The big deal was that is produced a lot 0 byte .js files along the way. Is this a known issue? |
If you npm update to the latest does this still happen? |
Ping - does this happen on 0.3.0? |
+1 |
I'm having the same issue. When I try to do something such as If I've many files (the limit is with regard to the file descriptor limit which on Unix you can check with
It'd be nice to find a proper way to solve this, but for now I'm going to verify the ulimit, and if low than a threshold, increase it. @sindresorhus has had this issue many times: sindresorhus/guides#8 Do you guys think vinyl-fs should do something to avoid this limit and, if so, what? |
Nope, most my issues has been with any globbing/filewatcher lib out there, read grunt, gulp, glob, etc. This is a general super annoying problem with OS X... |
Good news is that this is fixed in Node 0.12: nodejs/node-v0.x-archive@6820054 If that ever ships though... :P |
Nice! I'm going to use a simple workaround until then: |
I was asked to create a npm module for this: osx-ulimit. |
Can anyone try to reproduce this with the new set of tooling? Just |
Closing due to no response and not able to reproduce |
I got this today. I've got ~45,941 files. Running node v0.10.36 on Ubuntu 14.04. [email protected]. |
Not sure if this is the same issue but I have an array of file paths (1 glob all the rest full paths) that I am passing to src and it appears that only the first 30 array elements are being respected. If I change the order of the array it's only the first 30 array elements (globs only count as 1). This might not be related, I'm about to dig into the source code to try and figure it out now. EDIT: I was using the src function twice in my stream (I'm using gulp) which may have contributed to my issues. I'm using merge-stream now and it's working. |
Case: 8072 regular files in 207 dirs
The text was updated successfully, but these errors were encountered: