GCLOHThreshold element
Specifies the threshold size, in bytes, that causes the garbage collector to put objects on the large object heap (LOH).
<configuration>
<runtime>
<GCLOHThreshold>
Syntax
<GCLOHThreshold
enabled="nnnn"/>
Attributes
Attribute | Description |
---|---|
enabled |
Required attribute. Specifies the threshold size that causes objects to go on the large object heap. |
enabled attribute
Value | Description |
---|---|
nnnn |
The threshold size, in bytes, that causes objects to go on the large object heap. |
Child elements
None.
Parent elements
Element | Description |
---|---|
configuration |
The root element in every configuration file used by the common language runtime and .NET Framework applications. |
runtime |
Contains information about assembly binding and garbage collection. |
Remarks
This setting was introduced in .NET Framework 4.8.
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.