IGCHost::SetVirtualMemLimit Method

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

Syntax

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 System Requirements.

Header: GCHost.idl, GCHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0

See also