Archive for the ‘ASP’ Category

By default 2.0 uses garbage collection that is designed for a multi-processor environment. If your server does not have multiple CPUs or you are seeing excessive Out of Memory exceptions, disabling this garbage collection should bring memory usage down.

First open the aspnet.config file with a text editor like Notepad. This file can be found here:
.NET Framework 2.0:

.NET Framework 1.1:

Within the <runtime> tags add the following:
<gcServer enabled=”false”/>

Save the file and you are good to go.