Skip to content
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
This repository was archived by the owner on Sep 1, 2026. It is now read-only.

Memory usage spiked in version 7.0.0-dev.20260416.1 #3423

Closed

Description

I just want to report that memory usage is a lot higher in latest version (7.0.0-dev.20260416.1) than version (7.0.0-dev.20260408.1)

In version 20260408 my project usually uses 1.1Gb of RAM
In version 20260416 (latest) it uses 6Gb of RAM

Activity

  1. jakebailey commented on Apr 16, 2026

    @jakebailey
    Member

    That is a wide range.

    If you are able to reproduce consistently, could you build from source and bisect?

  2. jakebailey commented on Apr 16, 2026

    @jakebailey
    Member

    And are you referring to the editor? CLI compilation?

  3. sbking commented on Apr 16, 2026

    @sbking

    I am seeing a massive memory leak in VSCode TypeScript Native Preview this morning. Seems to eat up several gigabytes of RAM as I type in the editor and it autocompletes. The memory is never freed until I close VS Code. Continues to grow until I'm out of memory.

  4. jakebailey commented on Apr 16, 2026

    @jakebailey
    Member

    When this happens, can you please run the "Heap Profile" command in the command palette and upload it?

  5. jakebailey commented on Apr 16, 2026

    @jakebailey
    Member

    Or, build #3425 from source and see if that makes the problem go away.

  6. sbking commented on Apr 16, 2026

    @sbking
  7. jakebailey commented on Apr 16, 2026

    @jakebailey
    Member

    If this is easily reproducible, could you also try:

    "editor.semanticHighlighting.enabled": false,
    

    In your user settings?

  8. sbking commented on Apr 16, 2026

    @sbking

    That setting did not help. Here is a heap profile with it disabled:

    93277-1776355068999-heapprofile.pb.gz

  9. jakebailey commented on Apr 16, 2026

    @jakebailey
    Member

    Stephen Brian King (@sbking) Can you try again with the version we just put out on the marketplace?

  10. pedro757 commented on Apr 18, 2026

    @pedro757
    Author

    Jake Bailey (@jakebailey) I think it improved a bit in the latest version, but still not as good as version 20260408, latest version uses 50% more RAM

  11. jakebailey commented on Apr 18, 2026

    @jakebailey
    Member

    There's nothing else that should have affected that; if possible a repro would be good, or a bisect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions