Ffreemem
Bun

function

os.freemem

function freemem(): number;

Returns the amount of free system memory in bytes as an integer.