MemoryPool Constructor

Creates a new MemoryPool.

Definition

Namespace: SnapDB.IO.Unmanaged
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public MemoryPool(
	int pageSize = 65536,
	long maximumBufferSize = -1,
	TargetUtilizationLevels utilizationLevel = TargetUtilizationLevels.Low
)

Parameters

pageSize  Int32  (Optional)
The desired page size. Must be between 4KB and 256KB.
maximumBufferSize  Int64  (Optional)
The desired maximum size of the allocation. Note: could be less if there is not enough system memory.
utilizationLevel  TargetUtilizationLevels  (Optional)
Specifies the desired utilization level of the allocated space.

See Also