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

Memory (project) leak in plugin #12

Closed
VladRassokhin opened this issue Jan 16, 2019 · 0 comments
Closed

Memory (project) leak in plugin #12

VladRassokhin opened this issue Jan 16, 2019 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@VladRassokhin
Copy link
Contributor

VladRassokhin commented Jan 16, 2019

After all project closed in IDEA 2018.3.2 with PowerShell plugin v2.0.0 there's strong-referenceable ProjectImpl present in memory. Here's paths from GC roots:

  +---com.intellij.openapi.project.impl.ProjectImpl                                                                                              
    +---key of java.util.LinkedHashMap$Entry (ProjectImpl → LanguageServerEndpoint) chunk size = 1                                                  
      +---head of java.util.LinkedHashMap size = 1                                                                                                  
        +---psEditorLanguageServer of com.intellij.plugin.powershell.lang.lsp.LSPInitMain com.intellij.ide.plugins.cl.PluginClassLoader (112)                                              
          +---<class> of com.intellij.plugin.powershell.lang.lsp.LSPInitMain                                                                        
            +---[36] of java.lang.Object[79]                                                                                                        
              +---_values of gnu.trove.THashMap size = 58                                                                                           
                +---myNameToComponent of com.intellij.openapi.application.impl.ApplicationImpl [Stack Local] 
                  +---<local variable> of java.lang.Thread [JNI Global, Thread, Stack Local] "Periodic tasks thread" daemon tid=26 [TIMED_WAITING] 
VladRassokhin added a commit to VladRassokhin/PowerShell that referenced this issue Jan 17, 2019
@ant-druha ant-druha self-assigned this Jan 17, 2019
@ant-druha ant-druha added this to the 2.0.1 milestone Jan 17, 2019
@ant-druha ant-druha added the bug Something isn't working label Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants