SystemMemoryInfo class

Information returned from a call to {@linkcode Deno.systemMemoryInfo}.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

SystemMemoryInfo({num? total, num? free, num? available, num? buffers, num? cached, num? swapTotal, num? swapFree})
factory

Properties

available num

Available on SystemMemoryInfo, provided by the SystemMemoryInfo$Typings extension

Estimation of how much memory, in bytes, is available for starting new applications, without swapping. Unlike the data provided by the cache or free fields, this field takes into account page cache and also that not all reclaimable memory will be reclaimed due to items being in use.
getter/setter pair
buffers num

Available on SystemMemoryInfo, provided by the SystemMemoryInfo$Typings extension

Memory used by kernel buffers.
getter/setter pair
cached num

Available on SystemMemoryInfo, provided by the SystemMemoryInfo$Typings extension

Memory used by the page cache and slabs.
getter/setter pair
free num

Available on SystemMemoryInfo, provided by the SystemMemoryInfo$Typings extension

Unused memory in bytes.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
swapFree num

Available on SystemMemoryInfo, provided by the SystemMemoryInfo$Typings extension

Unused swap memory.
getter/setter pair
swapTotal num

Available on SystemMemoryInfo, provided by the SystemMemoryInfo$Typings extension

Total swap memory.
getter/setter pair
total num

Available on SystemMemoryInfo, provided by the SystemMemoryInfo$Typings extension

Total installed memory in bytes.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited