aboutsummaryrefslogtreecommitdiff
path: root/crates/base_db/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-10 13:09:54 +0100
committerGitHub <[email protected]>2021-06-10 13:09:54 +0100
commitf4da4de7cdd4a7dfe40a417b0100b83ec50d1e1d (patch)
tree15339930fdaf23cf4ce941a99228d9cef1b9a75a /crates/base_db/src
parent660a89620f65225359559ddcaf158bdb9dfe0d4c (diff)
parent2c1ca98abaf6756d3246841cc3cf4ca3f617efca (diff)
Merge #9202
9202: feat: Make `MemoryUsage` work on Windows r=jonas-schievink a=jonas-schievink Unfortunately there is no convenient API for heap statistics, so this instead uses the Commit Charge value, which is the amount of memory that needs to be allocated either in physical RAM or in the page file. This approximation seems to be good enough to find queries that waste a large amount of memory, but it should generally be expected to be off by several MB. bors r+ Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/base_db/src')
0 files changed, 0 insertions, 0 deletions