View source: R/matching_memory.R
| vm_stat_available_mb | R Documentation |
vm_stat outputInactive and speculative pages are reclaimed on demand, so they count as
available to an allocation in the same sense as Linux's MemAvailable; macOS
keeps almost nothing on the free list, so the free count alone understates
what a large matrix can actually obtain.
vm_stat_available_mb(vm, page_size)
vm |
Character vector of |
page_size |
Page size in bytes, as returned by |
Split from get_free_ram_mb() so the page-size and page-class handling can be
checked without a macOS host.
Numeric scalar (MB available), or NA_real_ if unparseable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.