| GarbageCollectorProperty Enumeration |
Gets or sets the property of System.GC to retrieve.
Namespace:
NLog.LayoutRenderers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public enum GarbageCollectorProperty
Public Enumeration GarbageCollectorProperty
Dim instance As GarbageCollectorProperty
type GarbageCollectorProperty
Members
| Member name | Value | Description |
---|
| TotalMemory | 0 |
Total memory allocated.
|
| TotalMemoryForceCollection | 1 |
Total memory allocated (perform full garbage collection first).
|
| CollectionCount0 | 2 |
Gets the number of Gen0 collections.
|
| CollectionCount1 | 3 |
Gets the number of Gen1 collections.
|
| CollectionCount2 | 4 |
Gets the number of Gen2 collections.
|
| MaxGeneration | 5 |
Maximum generation number supported by GC.
|
See Also