InseeFrLab / InseeFrLab/onyxia

[BUG] Continuous MaxHandlersExceededWarning in browser console

Open
#1,084 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
872
Forks
109
Avg merge
6d 3h
Merged PRs (30d)
1

Description

A MaxHandlersExceededWarning is being triggered continuously in the browser console. The warning indicates that the number of attached event handlers has exceeded the default limit (currently 25), and it appears to be compounding over time.

```
MaxHandlersExceededWarning: Possible Evt memory leak detected. 26 handlers attached.
Use Evt.prototype.setMaxHandlers(n) to increase limit on a specific Evt.
Use Evt.setDefaultMaxHandlers(n) to change the default limit currently set to 25.

1 handler like:
{
hasCtx: false,
once: false,
prepend: false,
extract: false,
isWaitFor: false,

[...]
```

The error does not appear just once; it triggers repeatedly, which progressively fills up the browser's console and makes it difficult to use.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the warning in the browser and inspect where Evt handlers are repeatedly attached. Trace the accumulating handlers to the responsible frontend entry point, then verify that the console no longer fills with repeated MaxHandlersExceededWarning messages over time.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.