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
Go to packages/playwright-core/src/client/page.ts and modify the file header 20 times, between each time save the file and look at the memory consumption.
Reproduction:
git clone https://github.com/microsoft/playwright && cd playwright
npm ci
npx esbuild --log-level=verbose "packages/playwright-core/src/**/*.ts" --outdir=packages/playwright-core/lib --sourcemap=linked --watch=true --platform=node --format=cjs
packages/playwright-core/src/client/page.ts
and modify the file header 20 times, between each time save the file and look at the memory consumption.This can be used as well:
and aborted after a few seconds.
Expected: It stays around 50-200 MB
Actual: It grows up to 10-40 GB
Version: 0.25.0 - also tested with 0.25.2
I was able to reproduce on macOS and Linux (Ubuntu amd64).
The text was updated successfully, but these errors were encountered: