diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-10 13:09:54 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-10 13:09:54 +0100 |
commit | f4da4de7cdd4a7dfe40a417b0100b83ec50d1e1d (patch) | |
tree | 15339930fdaf23cf4ce941a99228d9cef1b9a75a /crates/syntax/test_data/lexer/err | |
parent | 660a89620f65225359559ddcaf158bdb9dfe0d4c (diff) | |
parent | 2c1ca98abaf6756d3246841cc3cf4ca3f617efca (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/syntax/test_data/lexer/err')
0 files changed, 0 insertions, 0 deletions