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

MaxListenersExceededWarning Thread.update #24987

Closed
weeman1337 opened this issue Mar 30, 2023 · 2 comments
Closed

MaxListenersExceededWarning Thread.update #24987

weeman1337 opened this issue Mar 30, 2023 · 2 comments
Labels
A-Developer-Experience Hacktoberfest Issues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/ Help Wanted Extra attention is needed O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Low/no impact on users T-Defect

Comments

@weeman1337
Copy link
Contributor

weeman1337 commented Mar 30, 2023

Flooding our logs with these kind of messages doesn't help.
This issue is about to investigate whether there is a problem here.
If not, the number should be increased to something like the expected value + some buffer.

rageshake.ts:74 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 Thread.update listeners added. Use emitter.setMaxListeners() to increase limit
    at _addListener (vector://vector/webapp/bundles/91bd0f0d8a77e4398f82/vendors~init.js:216:15)
    at Thread.addListener (vector://vector/webapp/bundles/91bd0f0d8a77e4398f82/vendors~init.js:232:10)
    at Thread.on (vector://vector/webapp/bundles/91bd0f0d8a77e4398f82/init.js:24434:18)
    at vector://vector/webapp/bundles/91bd0f0d8a77e4398f82/init.js:7053:13
    at fk (vector://vector/webapp/bundles/91bd0f0d8a77e4398f82/vendors~init.js:72416:359)
    at push.Array.concat.exports.unstable_runWithPriority (vector://vector/webapp/bundles/91bd0f0d8a77e4398f82/vendors~init.js:72518:343)
    at gg (vector://vector/webapp/bundles/91bd0f0d8a77e4398f82/vendors~init.js:72276:325)
    at Oj (vector://vector/webapp/bundles/91bd0f0d8a77e4398f82/vendors~init.js:72415:308)
    at Lj (vector://vector/webapp/bundles/91bd0f0d8a77e4398f82/vendors~init.js:72397:50)
    at vector://vector/webapp/bundles/91bd0f0d8a77e4398f82/vendors~init.js:72277:115
@weeman1337 weeman1337 added T-Defect S-Tolerable Low/no impact on users A-Developer-Experience O-Occasional Affects or can be seen by some users regularly or most users rarely labels Mar 30, 2023
@Johennes Johennes added Help Wanted Extra attention is needed Hacktoberfest Issues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/ labels Oct 24, 2023
@viceice
Copy link

viceice commented Jan 8, 2024

Seeing related warnings:

rageshake.ts:77 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 101 Thread.new listeners added. Use emitter.setMaxListeners() to increase limit
    at c (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:3281528)
    at o.addListener (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:3284112)
    at z.on (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:1010710)
    at Ot.componentDidMount (vector://vector/webapp/bundles/b303e51b545dcd790b4f/353.js:2:1214992)
    at _a (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4195030)
    at Ol (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4211836)
    at t.unstable_runWithPriority (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4288454)
    at Ki (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4153976)
    at Al (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4208575)
    at yl (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4204686)

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 101 Room.redaction listeners added. Use emitter.setMaxListeners() to increase limit
    at c (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:3281528)
    at o.addListener (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:3284112)
    at z.on (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:1010710)
    at vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:2655620
    at Bl (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4213375)
    at t.unstable_runWithPriority (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4288454)
    at Ki (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4153976)
    at Pl (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4212838)
    at yl (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4204366)
    at vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4154199

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 101 Room.localEchoUpdated listeners added. Use emitter.setMaxListeners() to increase limit
    at c (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:3281528)
    at o.addListener (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:3284112)
    at z.on (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:1010710)
    at vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:2655620
    at Bl (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4213375)
    at t.unstable_runWithPriority (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4288454)
    at Ki (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4153976)
    at Pl (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4212838)
    at yl (vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4204366)
    at vector://vector/webapp/bundles/b303e51b545dcd790b4f/bundle.js:2:4154199

@t3chguy
Copy link
Member

t3chguy commented Jul 31, 2024

This has gone away

@t3chguy t3chguy closed this as completed Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Developer-Experience Hacktoberfest Issues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/ Help Wanted Extra attention is needed O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Low/no impact on users T-Defect
Projects
None yet
Development

No branches or pull requests

4 participants