 | 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
Syntaxpublic 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