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

ai.codegeex.plugin holds static reference to EditorImpl #234

Open
ViugiNick opened this issue Nov 25, 2023 · 0 comments
Open

ai.codegeex.plugin holds static reference to EditorImpl #234

ViugiNick opened this issue Nov 25, 2023 · 0 comments

Comments

@ViugiNick
Copy link

ViugiNick commented Nov 25, 2023

Also there are some disposed objects in the EditorImpl subtree, which may lead to a memory leak.

Android Studio Iguana | 2023.2.1 Canary 14

    37.1MB/1 objects          (root): java.lang.Class(ai.codegeex.plugin.toolWindow.AskCodegeexContent)
    37.1MB/1 objects          (static): java.util.HashMap
    37.1MB/1 objects          table: [Ljava.util.HashMap$Node;
    37.1MB/3 objects          []: java.util.HashMap$Node
    37.1MB/3 objects          value: com.intellij.openapi.editor.impl.EditorImpl
    26.3MB/3 objects          +-value: com.intellij.util.keyFMap.MapBackedFMap
    26.3MB/3 objects          | value: [Ljava.lang.Object;
    26.0MB/1 objects          | []: com.intellij.codeInsight.codeVision.EditorCodeVisionContext
    26.0MB/1 objects          | codeVisionHost: com.intellij.codeInsight.codeVision.CodeVisionHost
    26.0MB/1 objects          | project: com.intellij.openapi.project.impl.ProjectImpl(disposed)
    10.1MB/1 objects          \-myPanel: javax.swing.JPanel
    10.1MB/1 objects            parent: com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorComponent(disposed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant