Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

"MaxListenersExceededWarning: Possible EventEmitter memory leak detected" when downloading #13565

Closed
kjozwiak opened this issue Mar 22, 2018 · 2 comments
Labels
0.21.x issue first seen in 0.21.x bug duplicate Issue has already been reported feature/download

Comments

@kjozwiak
Copy link
Member

Description

When downloading files using 0.22.6 e6ff4ea, you'll get the following error in the terminal/command prompt:

(node:74390) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 removed listeners added. Use emitter.setMaxListeners() to increase limit
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 removed listeners added. Use emitter.setMaxListeners() to increase limit
    at _addListener (events.js:262:19)
    at DownloadItem.addListener (events.js:279:10)
    at DownloadItem.<anonymous> (/Applications/Brave-Beta.app/Contents/Resources/app.asar/app/filtering.js:596:12)
    at emitTwo (events.js:106:13)
    at DownloadItem.emit (events.js:194:7)

Steps to Reproduce

  1. install/launch 0.22.6 e6ff4ea via the terminal/command prompt
  2. visit https://github.com/brave/browser-laptop/releases
  3. initiate a download

Actual result:

Brave displaying node:74390) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. errors when downloading files.

Expected result:

Brave shouldn't be displaying node:74390) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. errors when downloading files.

Reproduces how often:

100% reproducible using the above STR.

Brave Version

about:brave info:

Brave: 0.22.6
V8: 6.5.254.36
rev: e6ff4ea
libchromiumcontent: 65.0.3325.162
Muon: 5.1.0
OS Release: 17.4.0
Update Channel: Beta
OS Architecture: x64
OS Platform: macOS
Node.js: 7.9.0
Brave Sync: v1.4.2

Reproducible on current live release:

Yes, currently reproducible using 0.21.24 19c78a1 which is the latest released build.

Additional Information

@kjozwiak kjozwiak added bug feature/download 0.21.x issue first seen in 0.21.x labels Mar 22, 2018
@kjozwiak kjozwiak added this to the Triage Backlog milestone Mar 22, 2018
@bsclifton
Copy link
Member

Fixed in 0.23.x with #12909
cc: @petemill

@bsclifton bsclifton removed this from the Triage Backlog milestone Mar 22, 2018
@bsclifton
Copy link
Member

Duplicate of #9643

@bsclifton bsclifton marked this as a duplicate of #9643 Mar 22, 2018
@bsclifton bsclifton added the duplicate Issue has already been reported label Mar 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
0.21.x issue first seen in 0.21.x bug duplicate Issue has already been reported feature/download
Projects
None yet
Development

No branches or pull requests

2 participants