I was using the same script for Mac for a while, and it ran without issues. I had to move it to my machine with Windows 10, and it keeps crashing (per page/tab) with error ERR_STATUS_BREAKPOINT
. I was doing some research about it, but seems nobody has the same issue specifically with Puppeteer. Although I found a possible solution - prevent the processor from overclocking. But it didn't help the problem.
My app is basically keeps reloading 6 tabs 1-2 times per second, and the browser is reloaded (kill all chrome process, exit node process, relaunch node process with forever) every 2 minutes to prevent memory leak. In the beginning it runs perfectly, but after 20-30 minutes, it keeps throwing the error. I have the catch block if page load failed, and it tries to reload the page, but it doesn't do.
So my question is how to detect chrome crashes in puppeteer, how to possibly avoid the issue, and how to reload after crash.
question from:
https://stackoverflow.com/questions/65942210/puppeteer-chromium-detect-err-status-breakpoint-on-windows-10 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…