Skip to content

totalMem ​

totalMem devuelve la memoria total del sistema, en bytes.

FirmatotalMem(): u64
tyrus
import { totalMem } from "tyrus:os";

const total: u64 = totalMem();
print(`${total} bytes total`);

Consulta también freeMem.