Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Slow performance and garbage collection heap memory fragmentation occur in ASP.NET


View products that this article applies to.

Symptoms

In a Microsoft ASP.NET Web application, you may experience slow performance and garbage collection heap fragmentation when the following conditions are true:
  • Many clients connect to the Web site at the same time.
  • The clients connect to the Web site by using a slow network connection such as a dial-up modem connection.
The garbage collection heap fragmentation causes high memory use and slow performance.

↑ Back to the top


Cause

This problem occurs because the response buffer cannot be moved in memory in the garbage collection heap while Microsoft Internet Information Services (IIS) writes the response to the client. Therefore, a long time may pass before the buffer can be moved in memory over a slow network connection. After the buffer is moved in memory, garbage collection can start to defragment the memory that is used by the buffer. When many clients connect to the ASP.NET Web application over a slow connection, the garbage collection heap may quickly become fragmented. Therefore, garbage collection may take longer to finish.

↑ Back to the top


Resolution

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft .NET Framework 1.1 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

No prerequisites are required.

Restart requirement

You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date         Time   Version            Size    File name
-----------------------------------------------------------------------------------------------
22-Apr-2004  03:18  1.1.4322.1034     258,048  Aspnet.isapi.dll  
22-Apr-2004  03:18  1.1.4322.1034      20,480  Aspnet.regiis.exe  
22-Apr-2004  03:18  1.1.4322.1034      32,768  Aspnet.state.exe  
22-Apr-2004  03:18  1.1.4322.1034      32,768  Aspnet.wp.exe    
05-Apr-2004  19:39                     33,718  Installpersistsqlstate.sql
05-Apr-2004  19:39                     34,342  Installsqlstate.sql
05-Apr-2004  19:39                     35,243  Installsqlstatetemplate.sql
22-Apr-2004  03:09  1.1.4322.1034      94,208  Perfcounter.dll  
22-Apr-2004  03:13                      8,685  Smartnav.js
22-Apr-2004  16:51  1.1.4322.1034   1,220,608  System.dll       
22-Apr-2004  16:51  1.1.4322.1034     241,664  System.messaging.dll  
22-Apr-2004  16:51  1.1.4322.1034     323,584  System.runtime.remoting.dll  
22-Apr-2004  16:51  1.1.4322.1034     131,072  System.runtime.serialization.formatters.soap.dll  
22-Apr-2004  16:51  1.1.4322.1034   1,257,472  System.web.dll   
22-Apr-2004  16:52  1.1.4322.1034     819,200  System.web.mobile.dll  
22-Apr-2004  16:51  1.1.4322.1034     569,344  System.web.services.dll  
22-Apr-2004  16:51  1.1.4322.1034   1,339,392  System.xml.dll   
03-Oct-2003  18:20                      2,119  Uninstallsqlstatetemplate.sql
22-Apr-2004  03:13                     14,482  Webuivalidation.js

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

This hotfix reduces the memory that is required to service clients that connect over a slow network connection.

For more information about how to monitor ASP.NET application performance, visit the following Microsoft Developer Network (MSDN) Web site: For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: KB841195, kbbug, kbfix, kbhotfixserver, kbqfe

↑ Back to the top

Article Info
Article ID : 841195
Revision : 5
Created on : 5/21/2007
Published on : 5/21/2007
Exists online : False
Views : 394