interface MemoryUsageFn
          
Usage in Deno
import { type MemoryUsageFn } from "node:process";
(): MemoryUsage
      
    
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.
rss(): number
      
    method returns an integer representing the Resident Set Size (RSS) in bytes.