Skip to main content
MemoryUsageFn - node__process.d.ts - Node documentation
interface MemoryUsageFn

Usage in Deno

```typescript import { type MemoryUsageFn } from "node:node__process.d.ts"; ```

Call Signatures

> [!WARNING] 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.