GCLOHThreshold 元素GCLOHThreshold element

指定導致垃圾收集行程將物件放在大型物件堆積(LOH)上的閾值大小(以位元組為單位)。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 屬性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 通用語言執行平台和 .NET Framework 應用程式所使用之每個組態檔中的根項目。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

這項設定是在 .NET Framework 4.8 中引進。This setting was introduced in .NET Framework 4.8.

另請參閱See also