-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
Rollup Version
4.44.0
Operating System (or Browser)
macOS and windows
Node Version (if applicable)
lts
Link To Reproduction
Sorry currently no minimal reproduction yet — the problem occurs consistently during vite build in a project with many dependencies (for example icon libs).
Expected Behaviour
Build should complete without hitting the system open file limit.
Actual Behaviour
Upgrading to 4.44.0 causes EMFILE: too many open files errors during build.
Downgrading back to 4.43.0 immediately resolves it.
This seems related to #5986 which removed the limit on max parallel file operations.
Example error (simplified):
[commonjs--resolver] Could not load some.js: EMFILE: too many open files
at async open (node:internal/fs/promises:639:25)
at async Object.readFile (node:internal/fs/promises:1246:14)
...
Hanxven and PooRPooR0