Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Reloading modules leaks memory #109

Description

Clone dups.
Open it
Open few files, do some random go to definitions.
Leave product inactive

Observe RAM growth and some odd module reloading

image

Activity

  1. changed the title [-]Memory leak while LS is sitting doing nothing[/-] [+]Reloading modules leaks memory[/+] on Sep 19, 2018
  2. heyakyra commented on Sep 26, 2018

    @heyakyra

    Found this bug via microsoft/vscode-python#2594

    Is there a workaround for this? I'm basically blocked at work because all 16G ram + 8G swap gets completely consumed after half an hour of editing

  3. MikhailArkhipov commented on Oct 8, 2018

    @MikhailArkhipov
    Author

    Kyra (@heyakyra) - you are probably hitting #193. This one is not too bad.

  4. MikhailArkhipov commented on Oct 8, 2018

    @MikhailArkhipov
    Author

    Depends on #209

  5. added a commit that references this issue on Oct 18, 2018
  6. GinRyan commented on Nov 11, 2018

    @GinRyan

    It's still happening in language-server.0.1.60
    (Platform: on Windows 10 1803, VSCode 1.28.2, Python 3.6.4)

    default

    There are just 5 python scripts in my project.

    After I killed this process, it launched again and auto increment to 4GB even 10GB .Auto increment step by 10MB per sec.

    I just import numpy and matplotlib in this project,. without peewee.

    • New in 11 nov:
      This problem happened in 10 nov. But today I can't reproduce this problem in the same project again now.
  7. jakebailey commented on Nov 14, 2018

    @jakebailey
    Member

    XellossRyan (@GinRyan) Unless you can see in your output "reloading modules" repeated while memory usage grows, your issue is likely unrelated to the original bug reported here. If you believe you have an issue we can reproduce, I'd suggest making a new issue with more information instead of commenting on older issues like this one and #109.

  8. GinRyan commented on Nov 16, 2018

    @GinRyan

    XellossRyan (@GinRyan) Unless you can see in your output "reloading modules" repeated while memory usage grows, your issue is likely unrelated to the original bug reported here. If you believe you have an issue we can reproduce, I'd suggest making a new issue with more information instead of commenting on older issues like this one and #109.

    I have seen the console output "reloading modules... done" repeated.

  9. added a commit that references this issue on Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions