Click or drag to resize

GarbageCollectorProperty Enumeration

Gets or sets the property of System.GC to retrieve.

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public enum GarbageCollectorProperty
Members
  Member nameValueDescription
TotalMemory0 Total bytes of managed memory allocated. Reported by GetTotalMemory(Boolean)
TotalMemoryForceCollection1 Obsolete. Total bytes of managed memory allocated (perform full garbage collection first).
CollectionCount02 Gets the number of Gen0 collections. Reported by CollectionCount(Int32)
CollectionCount13 Gets the number of Gen1 collections. Reported by CollectionCount(Int32)
CollectionCount24 Gets the number of Gen2 collections. Reported by CollectionCount(Int32)
MaxGeneration5 Maximum generation number supported by GC. Reported by MaxGeneration
WorkingSet6 Physical memory mapped to the current process context (includes both managed and unmanaged memory). Reported by WorkingSet
See Also