You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
With these steps it's easy enough to see nsfw consume several GB of ram & lots of CPU as RLS is running. This memory usage/leakage is worse on larger rust projects.
RLS uses cargo/rustc to compile code and generates lots of data in the ./target directory in the project which is what triggers this issue. Strangely though running cargo directly doesn't cause this memory issue. I not sure why this is RLS specific.
The text was updated successfully, but these errors were encountered:
I've traced a atom memory & performance issue when using RLS (Rust Language Server) to this project.
When watching a rust project directory with nsfw and running RLS, nsfw will leak memory and consume cpu.
Downstream: rust-lang/atom-ide-rust#104
Steps to reproduce
rustup component add rls
d4b9419
git clone https://github.com/rust-lang/regex cd regex git checkout d4b9419
cd regex rls --cli
With these steps it's easy enough to see nsfw consume several GB of ram & lots of CPU as RLS is running. This memory usage/leakage is worse on larger rust projects.
RLS uses cargo/rustc to compile code and generates lots of data in the ./target directory in the project which is what triggers this issue. Strangely though running cargo directly doesn't cause this memory issue. I not sure why this is RLS specific.
The text was updated successfully, but these errors were encountered: