Closed
Description
I'm working on a project which uses the uom crate. Rust-analyzer was always very slow to index this crate, but recently it's become unusable. Rust-analyzer has been stuck, pinning one CPU, on "indexing: 87/596 (uom)" for a full hour, and none of its usual features work until indexing is complete.
(I'm afraid I don't know precisely when this happened; I haven't worked on this project much since November. It was usable then.)
It does eventually work - in fact, it completed indexing as I'm typing this bug report - but an hour-long start-up time is not a great user experience. The rust-analyzer process is also using 1.7GB of memory.
I'm using version 0.2.513 of rust-analyzer in VSCode 1.54.1.