Having thousands of browser profiles from previous runs causes Cypress to spawn thousands of subprocesses #30043
Labels
OS: windows
stage: needs investigating
Someone from Cypress needs to look at this
type: bug
type: performance 🏃♀️
Performance related
Current behavior
On one of our jenkins nodes we currently have an issue that browser profiles do not get deleted (Why that happens is not part of this issue).
Currently we are in the thousands of profiles being located in the App Data directory.
Now everytime we start cypress with cypress run, cypress tries to spawn thousands (highest i've seen was over 2000) Powershell subprocesses, quickly eating all available system memory
Relevant debug log:
cypress.log
Desired behavior
Cypress should not spawn thousands of subprocesses consuming all system resources.
Of course there is an easy work around, delete profiles of previous runs, but if this fails somehow i'd still expect cypress to not behave in this way
Test code to reproduce
No easy reproducer
Cypress Version
13.13.2
Node version
20.16.0
Operating System
Windows 11
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: