interface MemoryUsageFn
Usage in Deno
import { type MemoryUsageFn } from "node:process";
(): MemoryUsage
The process.memoryUsage()
method iterate over each page to gather informations about memory
usage which can be slow depending on the program memory allocations.
rss(): number
method returns an integer representing the Resident Set Size (RSS) in bytes.