MemoryUsage
[<Interface>]
type MemoryUsage =
abstract member arrayBuffers: float with get, set
abstract member external: float with get, set
abstract member heapTotal: float with get, set
abstract member heapUsed: float with get, set
abstract member rss: float with get, set
static member Create (rss: float, heapTotal: float, heapUsed: float, external: float, arrayBuffers: float) : MemoryUsage| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
Properties
abstract member arrayBuffers: float with get, set
abstract member arrayBuffers: float with get, setRefers to memory allocated for ArrayBuffers and SharedArrayBuffers, including all Node.js Buffers. This is also included in the external value. When Node.js is used as an embedded library, this value may be 0 because allocations for ArrayBuffers may not be tracked in that case.
abstract member rss: float with get, set
abstract member rss: float with get, setResident Set Size, is the amount of space occupied in the main memory device (that is a subset of the total allocated memory) for the process, including all C++ and JavaScript objects and code.
Methods
static member Create (rss: float, heapTotal: float, heapUsed: float, external: float, arrayBuffers: float) : MemoryUsage