Skip to content

Memory Leak in Linux #1543

@riteshOodles

Description

@riteshOodles

After launching the IDE everything fine but as I do changes in my codebase memory consumption keep increasing.
I have installed Java extension package and Spring boot extension pack. Actually I don't know which one is responsible.

Environment:

  • VS Code Version: 1.105.1
  • Extension Version: 0.30.5
  • JDK Type & Version: OpenJDK 17
  • OS Type & Version: Linux

Step to Reproduce:

  1. Open a spring boot project (Larger the code base sooner you will notice)
  2. Start changing in different files
  3. It may take a couple of minute
  4. Monitor the resources

Expected Behavior:
On changing the file overall memory uses should be stable

Actual Behavior:
On each change IDE start checking errors, making auto build and other stuffs. After some times, Java memory reaches to 8GB and keep increasing and system crash or I have to restart vs code to release the memory.

Image

Related Issues:
If you have a large java file like having more than 7K+ lines of code the IDE suggestion are slow, and if you keep working on that file the suggestion will almost stop.

One more Issue I have faced that, on starting the VS code at first the java extension start up but sometimes it sometime (rare) it stuck at java publish diagnosis step. After restart it work

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions