Table of Contents

Property GlobalMaximumCapacity

Namespace
KZDev.PerfUtils
Assembly
KZDev.PerfUtils.dll

GlobalMaximumCapacity

Gets or sets the global maximum capacity for all instances of MemoryStreamSlim. This value affects newly created instances of MemoryStreamSlim only, and any existing instances will use the value that was set at the time they were created.

public static long GlobalMaximumCapacity { get; set; }

Property Value

long

Remarks

Generally, this never needs to be set, as the default value is int.MaxValue, but if for some reason there is a benefit to keep any single instance from growing beyond a certain size, this can be set to enforce that limit.