-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
child_process: child_process.spawn ENOMEM on Windows #25484
Copy link
Copy link
Closed
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Metadata
Metadata
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Windows Server 2016 appears to run into memory issues when spawning multiple subprocesses.
Here's the test in question in nyc:
which spawns the fairly boring subprocess:
which in turn requires:
I've tried using both
spawnandspawnSyncand the issue crops up in both cases. I also note that this behavior is new to Node 11 (labeled asnodein the image included):At a glance, this issue seems similar to #25382; but I note that tests run fine on Node 8 and Node 10.
@nodejs/process