Class MemoryStateChanged
Inheritance
MemoryStateChanged
Syntax
public class MemoryStateChanged
Constructors
MemoryStateChanged(Int64, Int64, Int64, Int64, Int64, Boolean)
Declaration
public MemoryStateChanged(long criticalThreshold, long highThreshold, long mediumThreshold, long usedAppMemory, long totalAppMemory, bool isMemoryLevelTooHigh)
Parameters
Fields
CriticalThreshold
The amount of memory that is considered dangerous.
Declaration
public long CriticalThreshold
Field Value
HighThreshold
Threshold from which receivers should start reducing the total amount of memory.
Declaration
public long HighThreshold
Field Value
IsMemoryLevelTooHigh
Indicates if the receiver should try to remove all allocations to free up as much memory as it can.
Declaration
public bool IsMemoryLevelTooHigh
Field Value
MediumThreshold
Threshold from which receivers should start cleaning up unused resources.
Declaration
public long MediumThreshold
Field Value
TotalAppMemory
The total amount of memory consumed by the application.
Declaration
public long TotalAppMemory
Field Value
UsedAppMemory
The amount of memory that is used by the application. The difference between this and TotalAppMemory is the reserved memory.
Declaration
public long UsedAppMemory
Field Value