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: See .NET Framework System Requirements.

Header: GCHost.idl, GCHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

IGCHost Interface