Share via


IGCHost::SetVirtualMemLimit Method

Sets the maximum size of the runtime's virtual memory.

HRESULT SetVirtualMemLimit (
        [in] SIZE_T sztMaxVirtualMemMB
);

Parameters

  • sztMaxVirtualMemMB
    [in] The maximum size, in megabytes, of the runtime's virtual memory.

Remarks

The maximum size of the runtime's virtual memory can be changed dynamically.

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

Reference

IGCHost Interface