Table of Contents

Enum GcReason

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

Reason the CLR triggered a garbage collection. Values match GCStart_V2.Reason from the Microsoft-Windows-DotNETRuntime EventSource — do not renumber.

public enum GcReason : byte

Fields

Empty = 3

No specific reason recorded.

Induced = 1

Explicitly induced (e.g. GC.Collect()), blocking.

InducedNotForced = 7

Induced but not forced to be blocking (allows a background collection).

LargeObjectHeapAllocation = 4

Large-object-heap allocation budget was exhausted.

LowMemory = 2

The OS signalled low physical memory.

OutOfSpaceLargeObjectHeap = 6

Out of space in the large object heap segment.

OutOfSpaceSmallObjectHeap = 5

Out of space in the small object heap segment.

SmallObjectHeapAllocation = 0

Small-object-heap allocation budget was exhausted — the most common cause.