[][src]Function vmap::allocation_size

pub fn allocation_size() -> usize

Gets a cached version of the system allocation granularity size.

On Windows this value is typically 64k. Otherwise it is the same as the page size.

println!("the system allocation granularity is {} bytes", vmap::allocation_size());