We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25201b2 commit 0a8274dCopy full SHA for 0a8274d
crates/rust-analyzer/src/handlers.rs
@@ -84,7 +84,8 @@ pub(crate) fn handle_analyzer_status(
84
85
pub(crate) fn handle_memory_usage(state: &mut GlobalState, _: ()) -> Result<String> {
86
let _p = profile::span("handle_memory_usage");
87
- let mem = state.analysis_host.per_query_memory_usage();
+ let mut mem = state.analysis_host.per_query_memory_usage();
88
+ mem.push(("Remaining".into(), profile::memory_usage().allocated));
89
90
let mut out = String::new();
91
for (name, bytes) in mem {
0 commit comments