RecyclableMemoryStreamManager.Events.MemoryStreamNonPooledLargeBufferCreated method
December 6, 2023 · View on GitHub
Logged when a buffer is created that is too large to pool.
public void MemoryStreamNonPooledLargeBufferCreated(Guid guid, string? tag, long requiredSize,
string? allocationStack)
| parameter | description |
|---|---|
| guid | Unique stream ID. |
| tag | A temporary ID for this stream, usually indicates current usage. |
| requiredSize | Size requested by the caller. |
| allocationStack | Call stack of the requested stream. |
Remarks
Note: Stacks will only be populated if RecyclableMemoryStreamManager.GenerateCallStacks is true.
See Also
- class Events
- namespace Microsoft.IO