Expand description
§Application Memory Usage Fetcher
A super simple crate which queries the supported operating system for the number of bytes used. Returns -1 for unsupported operating systems.
This crate was created after trying to find this functionality from an existing crate, and instead I found instances of people asking for it. So I decided to make it.
Constants§
- APP_
MEMORY_ USAGE_ FETCHER_ VERSION - Library version
Functions§
- get_
memory_ usage_ bytes - Application memory usage in bytes
- get_
memory_ usage_ gbytes - Application memory usage in gigabytes
- get_
memory_ usage_ kbytes - Application memory usage in kilobytes
- get_
memory_ usage_ mbytes - Application memory usage in megabytes
- get_
memory_ usage_ tbytes - Application memory usage in terabytes