Method | Description | |
---|---|---|
AddMemoryPressure ( long bytesAllocated ) : void |
Informs the runtime of a large allocation of unmanaged memory that should be taken into account when scheduling garbage collection.
|
|
RemoveMemoryPressure ( long bytesAllocated ) : void |
Informs the runtime that unmanaged memory has been released and no longer needs to be taken into account when scheduling garbage collection.
|
Method | Description | |
---|---|---|
PressureCheck ( ) : void |
public static AddMemoryPressure ( long bytesAllocated ) : void | ||
bytesAllocated | long | The incremental amount of unmanaged memory that has been allocated. |
return | void |
public static RemoveMemoryPressure ( long bytesAllocated ) : void | ||
bytesAllocated | long | The amount of unmanaged memory that has been released. |
return | void |