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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Created Cypress project for api automation. Getting this error when we executed 600+ scenario at a time.
Please find the error below
<--- Last few GCs --->
[7444:0000023889DDFCE0] 7869450 ms: Mark-sweep 4060.4 (4120.5) -> 4044.2 (4120.8) MB, 3707.9 / 0.0 ms (average mu = 0.137, current mu = 0.010) allocation failure scavenge might not succeed
[7444:0000023889DDFCE0] 7872965 ms: Mark-sweep 4062.4 (4122.3) -> 4043.7 (4119.4) MB, 3463.8 / 0.0 ms (average mu = 0.080, current mu = 0.014) allocation failure scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
--package.json file
{
"name": "core_apiautomation",
"version": "1.0.0",
"description": "Core API Automation by PSCS",
"main": "index.js",
"scripts": {
"scripts": "cypress run",
"test": "npm run scripts"
},
"author": "Nandakumar & Elamathy",
"license": "ISC",
"devDependencies": {
"@types/cypress-cucumber-preprocessor": "^4.0.1",
"cypress": "^9.5.1",
"cypress-cucumber-preprocessor": "^4.3.0",
"cypress-multi-reporters": "^1.2.4",
"mocha-junit-reporter": "^2.0.2",
"start-server-and-test": "^1.14.0"
},
"dependencies": {
"ajv": "^8.8.2",
"cypress-xpath": "^1.6.2",
"moment": "^2.29.1",
"mysql": "^2.18.1"
},
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": false,
"step_definitions": "cypress/support/step_definitions/",
"cucumberJson": {
"generate": true,
"outputFolder": "cypress/cucumber-json",
"filePrefix": "",
"fileSuffix": ".cucumber"
}
},
"keywords": []
}
Beta Was this translation helpful? Give feedback.
All reactions