Closed mgifford closed 2 months ago
I have been working on this for a little bit now and while other jobs complete, we have this one still running consistently into this memory issue. We're running a github action on Ubuntu latest with node v.22. It always fails at the same point and reports as out of memory. I added some tracing and am attaching the logs from the most recent run. The code snippet below is the same for all three jobs, working in two and not in the one mentioned above. logs_28210731332.zip
steps:
Still happening for me as well:
/home/user/.cache/pnpm/dlx/nyebsawq2skhwbmv3wuy7tb4uu/1925b7eae8d-33c875/node_modules/.pnpm/puppeteer-cluster@0.24.0_puppeteer@23.5.0/node_modules/puppeteer-cluster/dist/util.js:69
throw new Error(`Timeout hit: ${millis}`);
^
Error: Timeout hit: 300000
at /home/user/.cache/pnpm/dlx/nyebsawq2skhwbmv3wuy7tb4uu/1925b7eae8d-33c875/node_modules/.pnpm/puppeteer-cluster@0.24.0_puppeteer@23.5.0/node_modules/puppeteer-cluster/dist/util.js:69:23
at Generator.next (<anonymous>)
at fulfilled (/home/user/.cache/pnpm/dlx/nyebsawq2skhwbmv3wuy7tb4uu/1925b7eae8d-33c875/node_modules/.pnpm/puppeteer-cluster@0.24.0_puppeteer@23.5.0/node_modules/puppeteer-cluster/dist/util.js:5:58)
at runNextTicks (node:internal/process/task_queues:60:5)
at process.processTimers (node:internal/timers:511:9)
Node.js v20.12.2
Hi, was there ever a resolution to this issue as it is happening repeatedly with one of our sites?
Node.js: v20.18.0 unlighthouse-cli: v0.14.0
Seems to get to 99% and then throws the following error:
<path>/node_modules/puppeteer-cluster/dist/util.js:69
throw new Error(`Timeout hit: ${millis}`);
^
Error: Timeout hit: 300000
at <path>/node_modules/puppeteer-cluster/dist/util.js:69:23
at Generator.next (<anonymous>)
at fulfilled (<path>/node_modules/puppeteer-cluster/dist/util.js:5:58)
Node.js v20.18.0
Describe the bug
I am getting this error with unlighthouse/0.13.2 darwin-arm64 node-v20.16.0:
I am unclear why this would be an issue.
Sites scan normally, then the amount of memory consumed on the device skyrockets until the script crashes.
I don't know if it is a puppeteer or unlighthouse.dev problem. I have done nothing custom to either. Just a config.
Also, in the instance where it doesn't die on a different site:
Reproduction
Yes...
System / Nuxt Info