cypress icon indicating copy to clipboard operation
cypress copied to clipboard

V8 process OOM

Open cw010 opened this issue 2 years ago • 8 comments

Current behavior

Browser crashes after 10 tests after upgrading to 10.8.0 chrome version 106

Desired behavior

should not report an error

Test code to reproduce

Browser crashes after 10 tests after upgrading to 10.8.0

Cypress Version

10.8.0

Node version

v14

Operating System

macOS12

Debug Logs

No response

Other

No response

cw010 avatar Sep 30 '22 06:09 cw010

image

cw010 avatar Sep 30 '22 06:09 cw010

after testing There are problems with chrome V106, V104, V101 versions With more and more tests, after the chrome memory exceeds 3G, there is a high probability of crashing

cw010 avatar Sep 30 '22 07:09 cw010

be OOM by cypress 10+

cw010 avatar Sep 30 '22 07:09 cw010

@tcw010 Can you please include the tests you are running or a link to a repo that reproduces the issue? We have heard of reports of Chromium browsers having memory issues (as seen here). As a temporary workaround I would suggest downgrading your chrome to a version <v100 which seems to be when these issues arose in Chromium.

nagash77 avatar Oct 03 '22 13:10 nagash77

Unfortunately we have to close this issue due to inactivity. Please comment if there is new information to provide concerning the original issue and we can reopen.

nagash77 avatar Oct 11 '22 13:10 nagash77

@nagash77 : I am still seeing this same issue with Chrome - Version 114.0.5735.198

image

You can refer my repo :: https://github.com/rajat007kamra/CypressAssignment

rajat007kamra avatar Jul 14 '23 10:07 rajat007kamra

Hi @rajat007kamra , thank you for the reproduction repository. Have you tried enabling experimental memory management? In order to fully reproduce and triage, can you let me know how much memory the machine these tests are running on has available?

Thanks!

cacieprins avatar Jul 14 '23 18:07 cacieprins

@cacieprins : Below is my PC configurations :: image

I have around 400 GB of space available.

rajat007kamra avatar Jul 15 '23 01:07 rajat007kamra

Thank you, @rajat007kamra ! Unfortunately, I'm unable to reproduce with your example repository - could you try enabling experimental memory management to see if that resolves your issue? Thanks!

cacieprins avatar Jul 17 '23 17:07 cacieprins

@cacieprins : By enabling experimentalMemoryManagement:true , I am not able to reproduce this issue. Thanks- @cacieprins

rajat007kamra avatar Jul 18 '23 04:07 rajat007kamra

Glad to hear it - I'll go ahead and close this issue.

cacieprins avatar Jul 18 '23 20:07 cacieprins