totalmem - Node documentation
function totalmem

Usage

import { totalmem } from "node:os";

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

Return Type

number