IGCHost::SetGCStartupLimits Method

Sets the segment size and the maximum size for generation 0.

HRESULT SetGCStartupLimits (
        [in] DWORD SegmentSize,
       [in] DWORD MaxGen0Size
);

Parameters

  • SegmentSize
    [in] The size of the segment used by the garbage collection system.

  • MaxGen0Size
    [in] The maximum size for generation 0.

Remarks

The SetGCStartupLimits method may be called only once. These values cannot be changed later.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: GCHost.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

IGCHost Interface