Deno.SystemMemoryInfo - Deno documentation
interface Deno.SystemMemoryInfo

Information returned from a call to Deno.systemMemoryInfo.


total: number

Total installed memory in bytes.

free: number

Unused memory in bytes.

available: number

Estimation of how much memory, in bytes, is available for starting new applications, without swapping. Unlike the data provided by the cache or free fields, this field takes into account page cache and also that not all reclaimable memory will be reclaimed due to items being in use.

buffers: number

Memory used by kernel buffers.

cached: number

Memory used by the page cache and slabs.

swapTotal: number

Total swap memory.

swapFree: number

Unused swap memory.