Skip to content

Rust analyzer uses so much RAM whenever I open vscode that it crashes my pc everytime #20339

@Thepuppetqueen57

Description

@Thepuppetqueen57

Rustc version: 1.88.0
Cargo version: 1.88.0
Rust analyzer extension version: 2025-07-27

Even with nothing but vs code, my terminal, and discord open, rust analyzer uses so much ram that my pc either crashes or almost crashes.

It uses more than 4 gb of ram at minimum and I have 8gb of ram.

I'm running vs code in a tauri project.

If I forgot to include any details then ask me for them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions