You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't want to sound pushy/bad, but looking at develop branch in environment.js, it is visible from code that multiple switches cannot be passed to the underlying process:
It will split the value incorrectly. Maybe there could be a special workaround to pass it with semicolons instead.
Cypress Version
12.7
Node version
v18.15.0
Operating System
Windows
Debug Logs
No response
Other
I'm tinkering with this because one of our tests that involves huge form is crashing due to memory limit and there is no way for me to split it into multiple steps.
I'm not able to use chrome/edge on the workstation in enterprise environment as the cypress extension is blocked and cannot be side loaded to chrome.
If it's OK, I could also work on a PR :) Seems like a somewhat straightforward change.
EDIT: Turns firefox consumed 8gb for the same test :(
The text was updated successfully, but these errors were encountered:
Hi @FDIM , thanks for submitting this ticket. We would love to accept a PR for this functionality! Check out our Contributing guide for details on that process.
Current behavior
When I set env value
ELECTRON_EXTRA_LAUNCH_ARGS
to--js-flags="--expose-gc --max-old-space-size=8192"
it is not correctly forwarded to the process.Here is what I can see in process explorer:
Please note that
--js-flags
value is not formatted correctly to work.Desired behavior
I'd expect that all supported formats here: https://www.electronjs.org/docs/latest/api/command-line-switches#--js-flagsflags would work.
Test code to reproduce
N/A
I don't want to sound pushy/bad, but looking at develop branch in environment.js, it is visible from code that multiple switches cannot be passed to the underlying process:
https://github.com/cypress-io/cypress/blob/develop/packages/server/lib/environment.js#L77
Excerpt:
It will split the value incorrectly. Maybe there could be a special workaround to pass it with semicolons instead.
Cypress Version
12.7
Node version
v18.15.0
Operating System
Windows
Debug Logs
No response
Other
I'm tinkering with this because one of our tests that involves huge form is crashing due to memory limit and there is no way for me to split it into multiple steps.
I'm not able to use chrome/edge on the workstation in enterprise environment as the cypress extension is blocked and cannot be side loaded to chrome.
If it's OK, I could also work on a PR :) Seems like a somewhat straightforward change.
EDIT: Turns firefox consumed 8gb for the same test :(
The text was updated successfully, but these errors were encountered: