You receive an "Exception of type System.OutOfMemoryException was thrown" error message when you access a Web page on the portal site in SharePoint Portal Server 2003 and in Windows SharePoint Services (823547)



The information in this article applies to:

  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services

SYMPTOMS

In Microsoft Office SharePoint Portal Server 2003 and in Microsoft Windows SharePoint Services, when you try to access a Web page on the site, you may receive the following error message:
Server Error in '/' Application

Exception of type System.OutOfMemoryException was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type System.OutOfMemoryException was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OutOfMemoryException: Exception of type System.OutOfMemoryException was thrown.]

CAUSE

This problem may occur in situations where the server is under a heavy load. For example, this problem may occur if the portal contains more than 100 subsites, and one or more Web pages that are contained in each of the 100 subsites is accessed at the same time.

WORKAROUND

To work around this problem, configure the MSSharePointPortalAppPool application pool to use more than one Microsoft Internet Information Services (IIS) Worker Process (W3wp.exe). For example, if your portal contains 120 subsites, configure the MSSharePointPortalAppPool application pool to use one worker process for each group of 30 subsites. Therefore, the MSSharePointPortalAppPool application pool uses four IIS worker processes.

For more information about how to configure a Web garden in Microsoft Internet Information Services 6.0 (IIS 6), where an application pool uses more than one worker process, see the "Configuring Servers for Applications" topic in the Server Administration Guide of the IIS 6.0 documentation. To view the IIS 6.0 documentation, visit the following Microsoft Web site:

STATUS

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

MORE INFORMATION

For more information about capacity planning for SharePoint Portal Server 2003, see the Capacity Planning for Microsoft Office SharePoint Portal Server 2003 paper. To view the Capacity Planning for Microsoft Office SharePoint Portal Server 2003 paper, visit the following Microsoft Web site: For more information about how to deploy, configure, and administer SharePoint Portal Server, see the Microsoft Office SharePoint Portal Server 2003 Administrator's Guide. The Microsoft Office SharePoint Portal Server 2003 Administrator's Guide (Administrator's Help.chm) is located in the Docs folder in the root folder of the SharePoint Portal Server 2003 CD.

For more information about Microsoft SharePoint Portal Server, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:7/28/2006
Keywords:kbWebServer kberrmsg kbpending kbBug KB823547 kbAudITPRO