You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raw disposable stores output - ScopeContextKeyService
The full output contains 194 entries ScopedContextKeyService._register. It seems like a lot. Looking at the stacktrace, it shows the ScopedContextKeyServices are created in notebookEditorWidget.js:176:62:
It seems that the scopedContextKeyService is not registered like other disposables, it could be the cause of the memory leak.
Raw disposable stores output - Actions
The full output also contains 110 entries Action._register. Looking at the stacktrace, it shows the Actions are created in updateActions function in menubarControl.ts
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.1. Please try upgrading to the latest version and checking whether this issue remains.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
file.ipynb
file.ipynb
file.ipynb
Summary
Looking at the stacktrace, it shows a lot of
ScopedContextKeyServices
are created innotebookEditorWidget.js:176:62
:It seems that the
scopedContextKeyService
is not registered like other disposables, possibly causing a memory leak.Also in
notebookEditorWidget
, theNotebookEventDispatcher
disposable doesn't seem to be registered:It seems a possible solution could be to register both disposables using
this._register
.Details
Click to expand
Raw disposable stores output
Raw disposable stores output format
This output above captures the disposable stores as an array of arrays.
Each inner array represents a disposable store with the stacktraces.
For example, this represents a disposable store with one disposable, which has been created by
Action._register
inlifecycle.js:392:32
:[["Action._register (vscode-file://vscode-app/vscode/out/vs/base/common/lifecycle.js:392:32)"]]
This represents a disposable store with three disposables:
This represents two disposable stores: One empty disposable store and one disposable store with three disposables:
Raw disposable stores output - ScopeContextKeyService
The full output contains 194 entries
ScopedContextKeyService._register
. It seems like a lot. Looking at the stacktrace, it shows theScopedContextKeyServices
are created innotebookEditorWidget.js:176:62
:It seems that the
scopedContextKeyService
is not registered like other disposables, it could be the cause of the memory leak.Raw disposable stores output - Actions
The full output also contains 110 entries
Action._register
. Looking at the stacktrace, it shows theActions
are created inupdateActions
function inmenubarControl.ts
It seems there could be a possible actions memory leak in
menuBarControl.ts
But here I couldn't find what exactly the problem is.The text was updated successfully, but these errors were encountered: