-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
Large notebook trigger very many leak warnings #211112
Comments
One such case is for the new cellDiagnostics that I added (off by default). |
need to check if these are still happening, I think I've taken care of most cases |
Just came across a large notebook and there is still plenty of leak warnings. Just scrolling in the notebook prints tons for tom. This issue should really be prioritised because it can slow down all of vscode. Also, note that there is much related error telemetry like #226057 |
I think we can see if this is the same as #211105 which renders too many toolbars. |
Testing #210961
slow.ipynb.txt
This is critical:
REFUSES to accept new listeners because it exceeded its threshold by far
because it means a listener will never be used, meaning a feature is likely not working.This seems to be a widespread misconception and it seems each cell listens by itself. So, more cells, more listener, leak warning and refusal to accept more listeners. Generally, listener should be used sparingly, e.g instead of each cell being a listener there should be one per notebook which dispatches onto cell.
The text was updated successfully, but these errors were encountered: