RecyclableMemoryStreamManager.Options.MaximumSmallPoolFreeBytes property

December 6, 2023 · View on GitHub

Maximum number of bytes to keep available in the small pool.

public long MaximumSmallPoolFreeBytes { get; set; }

Remarks

Trying to return buffers to the pool beyond this limit will result in them being garbage collected.

The default value is 0, but all users should set a reasonable value depending on your application's memory requirements.

See Also