Skip to main content
MemoryUsageFn - process - Node documentation
interface MemoryUsageFn

Usage in Deno

import { type MemoryUsageFn } from "node:process";

Call Signatures

Deno compatibility

The multipleResolves and worker events are not supported.

The process.memoryUsage() method iterate over each page to gather informations about memory usage which can be slow depending on the program memory allocations.

Methods

rss(): number

method returns an integer representing the Resident Set Size (RSS) in bytes.

Back to top