amber/deno/memory_usage

Types

pub type MemoryUsage {
  MemoryUsage(
    rss: Int,
    heap_total: Int,
    heap_used: Int,
    external: Int,
  )
}

Constructors

  • MemoryUsage(
      rss: Int,
      heap_total: Int,
      heap_used: Int,
      external: Int,
    )

    Arguments

    rss

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

    heap_total

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

    heap_used

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

    external

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

Search Document