This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
Open
Description
opened on Jan 2, 2020
I'm running node using Visual Studio Community on Windows, and get a lot of
Error: EMFILE: too many open files
errors. More specifically, most trigger a
SourceMaps: could not preload for generated script
error. It's well known that you shouldn't try to open too many files simultaneously on Windows. Preferably, this would be refactored so that this is not parallelized to extreme (the default ceiling is 10k I believe?).
A suggestion is to use https://www.npmjs.com/package/graceful-fs instead of the built in fs package in utils: https://github.com/microsoft/vscode-chrome-debug-core/blob/master/src/utils.ts#L360
Metadata
Assignees
Labels
No labels
Activity