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

[internal] Watch mode ends up in 'MaxListenersExceededWarning: Possible EventEmitter memory leak detected' #32758

Closed
mxschmitt opened this issue Sep 23, 2024 · 0 comments · Fixed by #32761
Assignees
Labels

Comments

@mxschmitt
Copy link
Member

(node:19233) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 data listeners added to [ReadStream]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
    at genericNodeError (node:internal/errors:983:15)
    at wrappedFn (node:internal/errors:537:14)
    at _addListener (node:events:593:17)
    at ReadStream.addListener (node:events:611:10)
    at ReadStream.Readable.on (node:internal/streams/readable:1128:35)
    at InterfaceConstructor (node:internal/readline/interface:288:11)
    at new Interface (node:readline:115:3)
    at Object.createInterface (node:readline:212:10)
    at readCommand (/Users/maxschmitt/Developer/playwright/packages/playwright/src/runner/watchMode.ts:287:23)
    at runWatchModeLoop (/Users/maxschmitt/Developer/playwright/packages/playwright/src/runner/watchMode.ts:149:7)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at runTests (/Users/maxschmitt/Developer/playwright/packages/playwright/src/program.ts:190:20)
    at _Command.<anonymous> (/Users/maxschmitt/Developer/playwright/packages/playwright/src/program.ts:46:7)

repro: PWTEST_WATCH=1 npm run ctest -- page-fill:23 and make a few changes to the file, like 15, so it does rerun it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants