Gc layout renderer
NLog documentation is a
Wiki, which allows registered users to edit its content.
If you want to contribute, please create a user account and contact
Jarek to get edit access.
The information about the garbage collector.
Supported in


Configuration Syntax
Read more about using the Configuration File.Parameters
- Rendering Options
property - Property to retrieve. Default: TotalMemory
Possible values:- CollectionCount0 - The number of Gen0 collections.
- CollectionCount1 - The number of Gen1 collections.
- CollectionCount2 - The number of Gen2 collections.
- MaxGeneration - Maximum generation number supported by GC.
- TotalMemory - Total memory allocated.
- TotalMemoryForceCollection - Total memory allocated (perform full garbage collection first).