Skip to content

MaxListenersExceededWarning in repl #18284

Description

@maximelkin
$ node
> async function test() {
... await Promise.resolve()<many tab clicks>

causes

(node:9133) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 Runtime.executionContextCreated listeners added. Use emitter.setMaxListeners() to increase limit

Activity

  1. added
    eventsIssues and PRs related to EventEmitter and the events module.
    replIssues and PRs related to the REPL subsystem.
    on Jan 21, 2018
  2. yasinaydinnet commented on Jan 25, 2018

    @yasinaydinnet

    What do you mean by <many tab clicks>?

  3. sallen450 commented on Jan 27, 2018

    @sallen450
    Contributor

    I think it means that click tab multi times. I reproduce it on Node v9.4.0. It's ok on Node v8.9.4

  4. killagu commented on Feb 20, 2018

    @killagu
    Contributor

    @maximelkin It's node repl bug.I will make a PR to fix it.

  5. added a commit that references this issue on Feb 22, 2018
  6. added a commit that references this issue on May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    eventsIssues and PRs related to EventEmitter and the events module.replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions