Skip to main content
Process.constrainedMemory - process - Node documentation
method Process.constrainedMemory
Unstable

Usage in Deno

import { type Process } from "node:process";
Process.constrainedMemory(): number

Gets the amount of memory available to the process (in bytes) based on limits imposed by the OS. If there is no such constraint, or the constraint is unknown, 0 is returned.

See uv_get_constrained_memory for more information.

Return Type

number