Table of Contents

Struct MemoryPressureAllocationTracker

Namespace
Apache.Arrow.Memory
Assembly
Apache.Arrow.dll

Allows control over the way native allocations interact with the GC.

public struct MemoryPressureAllocationTracker : INativeAllocationTracker
Implements
Inherited Members

Methods

Track(int, long)

Record an allocation event

public void Track(int count, long bytes)

Parameters

count int

+1 when a new native chunk is allocated, -1 when deallocated and 0 when resized

bytes long

the delta in allocated bytes