High memory usage when used with zed editor #22080
Closed
arunkumar413
started this conversation in
General
Replies: 2 comments
-
|
Tauri is quite a large project by itself and has lots of dependencies as well. So, hitting 2GB of RAM usage when it's on your depdencency tree isn't a surprise. rust-analyzer is kind of an incremental compiler frontend so it has to load and memoize things like the source code, AST, HIR and type system query results into the RAM, otherwise it wouldn't be able to infer types/suggest autocompletes without too much delay. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Like @ShoyuVanilla, the chances that we have a bug here are very slim. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I'm using tauri ( https://v2.tauri.app/ ) on zed editor to build cross platform apps But the rust-analyzer is consuming about 2GB of memory--which in my opinion is too high given the hype how efficient rust is at managing the memory. Please let me know if I should raise a bug for this issue.
Thanks,
Arun
Beta Was this translation helpful? Give feedback.
All reactions