🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
RecyclableMemoryStream
This page was created by Hans.karlsen on 2019-10-14. Last edited by Edgar on 2025-08-31.

Are you getting an error of a missing Microsoft.IO.RecyclableMemoryStream or missing System.Buffers?

Add Nuget packages Microsoft.IO.RecyclableMemoryStream and Nuget packages System.Buffers.

These 2 assemblies are used to minimize the memory pressure:

private static ArrayPool<char> _pool = ArrayPool<char>.Shared;

_pool.Rent

2020-03-01 17h15 27.png