Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Memory leak with UI mode (macOS) #33424

Closed
notngan opened this issue Nov 4, 2024 · 3 comments
Closed

[Bug]: Memory leak with UI mode (macOS) #33424

notngan opened this issue Nov 4, 2024 · 3 comments

Comments

@notngan
Copy link

notngan commented Nov 4, 2024

Version

1.48.2

Steps to reproduce

  1. Run tests with npx playwright test --ui
  2. The UI mode is unable to start
  3. Observe Activity Monitor, you should see the memory usage increases rapidly as many "node" processes started

Expected behavior

Playwright UI mode should start and display the UI without rapid increase in memory usage.

Actual behavior

The Playwright UI mode fails to start. Open Activity Monitor and observe the processes. There is a rapid increase in memory usage as multiple "node" processes start. The computer may become unresponsive high memory consumption.

Additional context

Related to a closed issue #33086

Environment

System:
OS: macOS Sonoma 14.7
Chip: Apple M1 Pro
Memory: 14.84 GB / 16 GB
Binaries:
Node: 16.10
pnpm: 7.33.6
IDEs:
WebStorm 2024.2.4
npmPackages:
@playwright/test: ^1.48.2 => 1.48.2

@siddharth2023
Copy link

I keep seeing #33086 on 1.48.2 as well.

Has been happening quite a bit the last 3-4 days

@yury-s
Copy link
Member

yury-s commented Nov 4, 2024

@notngan I cannot reproduce it. Note that Node 16 is no longer supported. Please try with newer Node, if the problem persists please share a project where it happens, so that we could reproduce it locally.

@yury-s
Copy link
Member

yury-s commented Nov 11, 2024

We need more information to act on this report. Please file a new one and link to this issue when you get back to it!

@yury-s yury-s closed this as completed Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants