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)
parameterdescription
guidUnique stream ID.
tagA temporary ID for this stream, usually indicates current usage.
requiredSizeSize requested by the caller.
allocationStackCall stack of the requested stream.

Remarks

Note: Stacks will only be populated if RecyclableMemoryStreamManager.GenerateCallStacks is true.

See Also