Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/lib.deno.d.ts>Deno.MemoryUsage

A JavaScript extension package for building strong and modern applications.
Latest
interface Deno.MemoryUsage
import { type Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { MemoryUsage } = Deno;

Properties

rss: number

The number of bytes of the current Deno's process resident set size, which is the amount of memory occupied in main memory (RAM).

heapTotal: number

The total size of the heap for V8, in bytes.

heapUsed: number

The amount of the heap used for V8, in bytes.

external: number

Memory, in bytes, associated with JavaScript objects outside of the JavaScript isolate.