Interface IAllocator
public interface IAllocator : IDisposable
- Inherited Members
Properties
AllocatedBytes
Amount of memory allocated in bytes.
long AllocatedBytes { get; }
Property Value
CapacityBytes
Maximum number of bytes available for this arena.
long CapacityBytes { get; }
Property Value
ComittedBytes
Amount of heap memory comitted for this arena.
long ComittedBytes { get; }
Property Value
Methods
Clear(bool)
Clear all allocations in this arena.
void Clear(bool uncommit = false)
Parameters
uncommit
boolTrue to uncommit the allocated memory pool
Remarks
Invalidates all allocations.