RecyclableMemoryStreamManager.Events.MemoryStreamOverCapacity method
December 6, 2023 · View on GitHub
Logged when a stream grows beyond the maximum capacity.
public void MemoryStreamOverCapacity(Guid guid, string? tag, long requestedCapacity,
long maxCapacity, string? allocationStack)
| parameter | description |
|---|---|
| guid | Unique stream ID |
| requestedCapacity | The requested capacity. |
| maxCapacity | Maximum capacity, as configured by RecyclableMemoryStreamManager. |
| tag | A temporary ID for this stream, usually indicates current usage. |
| allocationStack | Call stack for the capacity request. |
Remarks
Note: Stacks will only be populated if RecyclableMemoryStreamManager.GenerateCallStacks is true.
See Also
- class Events
- namespace Microsoft.IO