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 29, 2022. It is now read-only.
RLS target data generation causes memory leak in nsfw file watchers on Linux.
This issue will affect Linux Atom & probably Vscode users too as they both make use of the nsfw native file watching project. It causes ide memory to leak, and in some cases will consume all system memory.
This can be reproduced by simply running Atom along with rls --cli in a terminal, particularly with the 1.35 release. Interestingly the leak does not occur by simply running/re-running cargo directly, but running rls --cli it can be quickly observed.
The upstream file-watcher has fixed a Linux string allocation leak and this seems to address the memory issues with rls usage. I'll close this now, more general rls memory issues on linux are covered by #1188
RLS target data generation causes memory leak in nsfw file watchers on Linux.
This issue will affect Linux Atom & probably Vscode users too as they both make use of the nsfw native file watching project. It causes ide memory to leak, and in some cases will consume all system memory.
This can be reproduced by simply running Atom along with
rls --cli
in a terminal, particularly with the 1.35 release. Interestingly the leak does not occur by simply running/re-running cargo directly, but runningrls --cli
it can be quickly observed.Investigation done in: rust-lang/atom-ide-rust#104
Related: atom/nsfw#7, Axosoft/nsfw#72
The text was updated successfully, but these errors were encountered: