Crate app_memory_usage_fetcher

Source
Expand description

Build Lint Crates.io Version

§Application Memory Usage Fetcher

A super simple crate which queries the supported operating system for the number of bytes used. Returns None 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