Skip to content

Huge Memory Usage Spike #5728

@a-panda-miner

Description

@a-panda-miner

I have been encountering random memory usage spikes while using rust-analyzer in either VSCode or coc-rust-analyzer since the updated grammar was introduced (release 2020-08-03).

The memory usage goes rapidly from ~900MB to 10GB+ before crashing my computer, I only managed to take one screenshot:

screen11

In my latest crash I was idling for about 20 minutes with the project open on VSCode after trying for several hours to replicate this with no avail, all other crashes happened rapidly after making changes and saving within 1-2 hours of use on CoC.

Libraries used during crashes: amethyst or rltk + specs

Ubuntu 20.04 / Rustc 1.45.2 / rust-analyzer v0.2.273 (VSCode) / [coc.nvim] rust-analyzer7a03f05

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-perfperformance issuesC-supportCategory: support questionsS-unactionableIssue requires feedback, design decisions or is blocked on other work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions