The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Specifying Concurrent Garbage Collection

The common language runtime can either run garbage collection concurrently on a separate thread or on the same thread as the application. Use the <gcConcurrent> element to specify how the runtime should run garbage collection. For example:

       <gcConcurrent enabled="false"/>

By default, the runtime runs garbage collection concurrently, which reduces performance. If your application is single-threaded and involves heavy user interaction, leave concurrent garbage collection enabled so the application does not pause to perform garbage collection. If your application is an ASP.NET server application, you do not need to alter the default value of the <gcConcurrent> element.

See Also

<gcConcurrent> Element | Configuring Applications

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft