-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of memory Chromium crash #58
Comments
Yeah, not sure what we can do about it without a repo to see and run. Does this happen on every run? |
Yes, I understand. Unfortunately, that's all the information we have. Note: it seems to me that error handling might be failing here as well: |
True, |
Those errors are coming from our error monitoring tooling, not from the user reporting the problem, so we cannot unfortunately run/re-run those builds. I can see though if this error is happening again and make sure the Cypress version is always |
We're also getting this in Netlify builds. But it magically worked one time in ten.
|
Having the same problem: "cypress": "^4.11.0",
"netlify-plugin-cypress": "^1.4.1", 1:04:20 PM: [1751:0807/130420.357593:FATAL:memory.cc(22)] Out of memory. size=393216
1:04:20 PM: We detected that the Chromium Renderer process just crashed.
1:04:20 PM:
1:04:20 PM: This is the equivalent to seeing the 'sad face' when Chrome dies.
1:04:20 PM:
1:04:20 PM: This can happen for a number of different reasons:
1:04:20 PM:
1:04:20 PM: - You wrote an endless loop and you must fix your own code
1:04:20 PM: - There is a memory leak in Cypress (unlikely but possible)
1:04:20 PM: - You are running Docker (there is an easy fix for this: see link below)
1:04:20 PM: - You are running lots of tests on a memory intense application
1:04:20 PM: - You are running in a memory starved VM environment
1:04:20 PM: - There are problems with your GPU / GPU drivers
1:04:20 PM: - There are browser bugs in Chromium
1:04:20 PM:
1:04:20 PM: You can learn more including how to fix Docker here:
1:04:20 PM:
1:04:20 PM: https://on.cypress.io/renderer-process-crashed
|
Running into the same issue. Fresh Cypress install with a one simple test. I upped the node heap memory, but that didn't work. NPM Script: Dev Dependencies:
Netlify Build Logs:
|
Has this been resolved for anyone? Versions: ERROR: |
Can I help in any way? As long as this issue is open, I can't add Cypress to Netlify. |
Experiencing the same issue - [2484:0916/181330.902910:FATAL:memory.cc(22)] Out of memory. size=6660096 |
Facing the same issue since earlier today; all the tests pass and we face a crash error at the end Tried to revert back to old "passing" commit, no success. |
Could this possibly be related to cypress-io/cypress#350, since I think Netlify is running builds in containers? |
Also having the same issue:
It seems to be happy with a fairly lightweight page but as soon as there is lots of images and resources being loaded it crashes. |
I ran into this issue with the code at this repo: https://github.com/ceceliacreates/ceceliacreates-nuxt/tree/netlify-cypress Retried multiple times and browser crashed each time. |
We are running into the same problem. Is Netlify informed & aware of the problem as well? because @kamsar mentioned a docker solution from the "host" side there. I was also not able to find docs on what the hard resource limits (memory/cpu/time) when building on Netlify are.
|
Cloned @CypressCecelia into https://github.com/bahmutov/ceceliacreates-nuxt
The plugin v1.7.0 prints the |
Added CircleCI and GH Actions builds to https://github.com/bahmutov/ceceliacreates-nuxt to compare - they run fine without crashing, only the Netlify plugin crashes. Disabling video helped a little, but there are still crashes after a few tests |
Added recording just to see how different CIs behave https://dashboard.cypress.io/projects/xn3ihk Netlify pretty much always crashes, a gets cross-origin error #107 |
Still crashes even when testing the deployed URL bahmutov/ceceliacreates-nuxt#1 |
Hello 👋 Would anyone be interested in testing a draft PR with a potential fix? You can install it via [[plugins]]
package = "netlify-plugin-cypress" |
Nice job @erezrokah I tested it in https://app.netlify.com/sites/ceceliacreates-nuxt/deploys/60219e9518a3950007bfc080 and it worked, it even records video fine https://dashboard.cypress.io/projects/xn3ihk/runs/90 Let me work on merging your PR, I think we should expose an option to use either Electron or Chromium. Also, I need to see where Chromium is cached - is it just stored in |
🎉 This issue has been resolved in version 1.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Looks like you figured everything out :) Yes it puts it under |
This is awesome, thanks @bahmutov and @erezrokah! 🎉 @bahmutov Would you like to make a new release on |
@ehmicky I had a question about it - how often do we need to update your repo? |
That repository is the list of plugins listed in the Netlify UI. New versions of plugins are available in the UI as soon as this file is updated. In most cases, just bumping the |
Versions
1.3.11
4.4.1
v3.3.14
10.21.0
1.17.0
Describe the bug
Chromium crash with an out-of-memory bug.
Logs and screenshots
Link to the repo
Private repository
The text was updated successfully, but these errors were encountered: