Running Playwright Chromium for 2+ hours with one shared context accumulates memory until PM2/OOM kills the process with no error. Fix: save cookies and close/reopen the context every 20 brands so Chromium memory is freed mid-run. Cookie persistence means the new context resumes with the cf_clearance session. Override interval with BIKEGEAR_RECYCLE_EVERY env var. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
JavaScript
100%