A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/framework/unmanaged-api/hosting/iclrgcmanager-interface below:

ICLRGCManager Interface - .NET Framework

ICLRGCManager Interface

In this article

Provides methods that allow a host to interact with the common language runtime's garbage collection system.

Note

Starting with .NET Framework 4.5, you can use the ICLRGCManager2::SetGCStartupLimitsEx method to set the size of a garbage collection segment and the maximum size of the garbage collection system's generation 0 to values greater than the DWORD limit that is imposed by the SetGCStartupLimits method.

Methods Method Description Collect Method Forces a garbage collection for the specified generation. GetStats Method Gets a set of current statistics about the garbage collection system. SetGCStartupLimits Method Sets the size of a garbage collection segment and the maximum size of the garbage collection system's generation 0.

The common language runtime (CLR) implements its garbage collection mechanism with the managed GC type. For more information about the garbage collection system, see Garbage Collection.

Requirements

Platforms: See System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0

See also

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.

Additional resources

In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4