SharePoint Stuff



Sharepoint Out of memory OOM exception

Written by Luke Smith. Posted in Microsoft

Issue
====
You may receive but no all of the following:

following errors are displayed on a sharepoint page

Failed to render “Title” column because of an error in the “Single line of text” field type control. See details in log. Exception message: Server out of memory there is no memory on the server to run your program. please contact your administrator with this problem ..

Failed to render “Page Content” column because of an error in the “Publishing HTML” field type control. See details in log. Execption message: Server out of memory on the server to run your program. Please contact your administrator with this problem

The event Logs show:

Out of memory (OOM) Exception

The following is always logged in the SPS Logs

While initializing navigation, found Page placeholder but object was not found at: /<SITE>/<PAGE>/<PAGE>.ASPX.

Behaviour
=======

W3WP.exe worker process used by your Sharepoint site increases to 1.2GB of memory rapidy and then errors. Once the process memory has been consumed, the memory is clearned and decreases back to normal utilisation (200 -650Mb)

The site which is trying to load, utilises a Site Navigation bar and contains over 50 pages

The site navigation bar is utilising the SiteMapProvider “SPNavSiteMapProvider”

Resolution
========

Edit your sites master.page using sharepoint designer 2007

Find the following

SiteMapProvider=”SPNavSiteMapProvider”

Change the SiteMapProvider

SiteMapProvider=”GlobalNavSiteMapProvider”

I would also recommend reducing the amount of pages contained in the site (try to keep this as small as possible.

Also consider moving to a 64bit platform and increase the amount of memory on the server (over 4GB recommeneded)

If you are receiving OOM exeption within custom code please see http://code.msdn.microsoft.com/SPDisposeCheck
and
http://msdn.microsoft.com/en-us/library/aa973248.aspx

This applies to MOSS 2007 (RTM and all updates) running on a 32bit windows 2003 environment

Thanks to Nick Lloyd-Jenkins for identifying this one

Tags: , ,

Trackback from your site.

Luke Smith

I’ve been working with Microsoft Technologies for over 20 years, my main focus now being Microsoft Online Services. I manage the Cloud Services at ElysianIT Limited and as a P-SELLER at Microsoft. I have worked with many organisations from SMC to Enterprise. I’ve been working with Microsoft Technologies since DOS 5.0, to date I have been working on Microsoft’s latest cloud technology Windows Azure, Windows 10 Office 365 and Microsoft SharePoint

Comments (1)

Leave a comment