There are only two garbage collection options, workstation or server. For single-processor computers, the default workstation garbage collection should be the fastest option. Either workstation or server can be used for two-processor computers. Server garbage collection should be the fastest option for more than two processors. Use the GCSettings.IsServerGC property to determine if server garbage collection is enabled.

This element can be used only in the application configuration file.

Note

Concurrent garbage collection is not available when server garbage collection is enabled.