Table of Contents

Class MemoryPoolOptions

Namespace
Orleans.GpuBridge.Runtime
Assembly
Orleans.GpuBridge.Runtime.dll

Configuration options for memory pools.

public sealed class MemoryPoolOptions
Inheritance
MemoryPoolOptions
Inherited Members

Properties

DefaultPerTypeLimit

Gets or sets the default memory limit per type in bytes. Default is 512MB.

public long DefaultPerTypeLimit { get; set; }

Property Value

long

EnableMemoryPressureMonitoring

Gets or sets whether to enable memory pressure monitoring. Default is true.

public bool EnableMemoryPressureMonitoring { get; set; }

Property Value

bool

MaxPooledBuffersPerType

Gets or sets the maximum number of pooled buffers per type. Default is 100.

public int MaxPooledBuffersPerType { get; set; }

Property Value

int

MaxTotalMemoryBytes

Gets or sets the maximum total memory in bytes across all pools. Default is 4GB.

public long MaxTotalMemoryBytes { get; set; }

Property Value

long

MemoryPressureThresholdPercent

Gets or sets the memory pressure threshold percentage (0-100). Default is 80%.

public double MemoryPressureThresholdPercent { get; set; }

Property Value

double

PerTypeMemoryLimits

Gets the per-type memory limits for specific element types.

public Dictionary<Type, long> PerTypeMemoryLimits { get; }

Property Value

Dictionary<Type, long>