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

Article translations Article translations
Article ID: 823547 - View products that this article applies to.
Expand all | Collapse all

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:
http://technet2.microsoft.com/WindowsServer/en/library/bd33bd8c-321a-4c28-8cb9-92ecc1b3b4381033.mspx?mfr=true

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:
http://office.microsoft.com/en-us/sharepointportaladmin/HA011647571033.aspx#XSLTsection128121120120
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:
http://office.microsoft.com/en-us/sharepointserver/FX101494611033.aspx

Properties

Article ID: 823547 - Last Review: May 31, 2007 - Revision: 3.7
APPLIES TO
  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services 2.0
Keywords: 
kbwebserver kberrmsg kbpending kbbug KB823547

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com