Use a pool of buffers

Description

Now that there is a decent library for buffer pooling for C#, it is time to use a pool instead of direct allocations.
The most important benefit for using it is less pressure on the GC, but there are other benefits too:

  • Eliminate Large Object Heap allocations

  • Avoid memory leaks by having a bounded pool size

  • Avoid memory fragmentation

Environment

None

Pull Requests

None

Assignee

Jorge Bay Gondra

Reporter

Jorge Bay Gondra

Labels

PM Priority

None

Fix versions

External issue ID

None

Doc Impact

None

Reviewer

Olivier Coanet

Pull Request

None

Epic Link

None

Sprint

Size

M

Components

Priority

Major
Configure