Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MemInfo

import type { MemInfo } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";

Information about the memory usage of a worker or a container within a worker.

interface MemInfo {
currentLimitBytes?: bigint;
currentOoms?: bigint;
currentRssBytes?: bigint;
timestamp?: Date;
totalGbMs?: bigint;
}

§Properties

§
currentLimitBytes?: bigint
[src]

Instantenous memory limit in bytes.

§
currentOoms?: bigint
[src]

Number of Out of Memory (OOM) events recorded since the previous measurement.

§
currentRssBytes?: bigint
[src]

Instantenous memory (RSS) size in bytes.

§
timestamp?: Date
[src]

Timestamp of the measurement.

§
totalGbMs?: bigint
[src]

Total memory (RSS) usage since start up in GB * ms.