Exafunction / codeium

Other
200 stars 9 forks source link

codeium IntelliJ plugin memory leak #18

Open ViugiNick opened 7 months ago

ViugiNick commented 7 months ago

We received a few memeory reports showing that codeium intellij plugin is holding a strong reference to a disposed instance of PsiAwareTextEditorComponent. Unfortunately we can't say what plugin version was used, could you please take a look?

Root 1:
    84.4MB/1 objects          (root): java.lang.Class(com.intellij.openapi.progress.impl.ProgressSuspender)
    84.4MB/1 objects          (static): com.intellij.openapi.application.impl.ApplicationImpl
    76.6MB/1 objects          serviceInstanceHotCache: java.util.concurrent.ConcurrentHashMap
    76.6MB/1 objects          table: [Ljava.util.concurrent.ConcurrentHashMap$Node;
    28.5MB/1 objects          []: java.util.concurrent.ConcurrentHashMap$Node
    28.5MB/1 objects          val: codeium.h
    28.5MB/1 objects          d: java.util.LinkedHashMap
    28.5MB/1 objects          head: java.util.LinkedHashMap$Entry
    28.5MB/1 objects          key: com.intellij.openapi.editor.impl.EditorImpl
    27.2MB/1 objects          myPanel: javax.swing.JPanel
    27.2MB/1 objects          parent: com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorComponent(disposed)
pqn commented 7 months ago

Thanks, we have a candidate fix in the next release.