To work around these issues, configure the .NET Framework
common language runtime to use the Workstation garbage collector. The
Workstation garbage collector is optimized to reduce garbage collector pause
times for interactive applications. Additionally, the Workstation garbage
collector creates only one heap. Therefore, the Workstation garbage collector
uses less memory when you run applications on multiprocessor computers.
To configure the .NET Framework common language runtime to use the
Workstation garbage collector, add the following code after the
<runtime> element in the Aspnet.config file. The Aspnet.config file is
located in one of the following folders:
<configuration>
<runtime>
<gcServer enabled="false"/>
</runtime>
</configuration>
Note The Workstation garbage collector is optimized for low latency.
Low latency is typically required for client applications. However, low latency
may cause decreased throughput after you configure the .NET Framework common
language runtime to use the Workstation garbage collector.