RecyclableMemoryStreamManager.Options constructor (1 of 2)

December 6, 2023 · View on GitHub

Creates a new Options object.

public Options()

See Also


RecyclableMemoryStreamManager.Options constructor (2 of 2)

Creates a new Options object with the most common options.

public Options(int blockSize, int largeBufferMultiple, int maximumBufferSize, 
    long maximumSmallPoolFreeBytes, long maximumLargePoolFreeBytes)
parameterdescription
blockSizeSize of the blocks in the small pool.
largeBufferMultipleSize of the large buffer multiple
maximumBufferSizeMaximum poolable buffer size.
maximumSmallPoolFreeBytesMaximum bytes to hold in the small pool.
maximumLargePoolFreeBytesMaximum bytes to hold in each of the large pools.

See Also