Struct VhMemoryInfo
Cross-platform snapshot of process/system memory figures. Every field is nullable on purpose: no single OS
exposes all of them, so each host fills what it can measure and leaves the rest null. Bytes are the
canonical unit; the *Mb helpers are convenience conversions.
public readonly struct VhMemoryInfo
- Inherited Members
Properties
ProcessFootprintBytes
This process's memory footprint in bytes — the figure an OS memory limit is enforced against (e.g. iOS
jetsam's phys_footprint). null when the platform can't report it.
public long? ProcessFootprintBytes { get; init; }
Property Value
- long?
ProcessFootprintMb
Gets ProcessFootprintBytes in mebibytes, or null.
public double? ProcessFootprintMb { get; }
Property Value
TotalBytes
Total physical system memory (or container/cgroup limit) in bytes. null when unavailable.
public long? TotalBytes { get; init; }
Property Value
- long?
TotalMb
Gets TotalBytes in mebibytes, or null.
public double? TotalMb { get; }
Property Value
UsedBytes
System memory currently in use in bytes. null when unavailable.
public long? UsedBytes { get; init; }
Property Value
- long?
UsedMb
public double? UsedMb { get; }