SYMPTOMS
On a heavily-loaded Microsoft Exchange Server 2003 computer, users in your organization may not be able to access their mailboxes by using Microsoft Outlook Mobile Access. In this scenario, an Outlook Mobile Access user may receive an error message that is similar to the following:
A system error has occurred, please see your system administrator.
Additionally, all the following events may appear in the Application log on the Exchange Server 2003 computer:
Event 1Event Type: Error
Event Source: MSExchangeOMA
Event Category: (1000)
Event ID: 1507
Date:
dateTime:
timeUser: N/A
Computer:
servernameDescription:
An unknown error occurred while processing the current request: Exception of type Microsoft.Exchange.OMA.DataProviderInterface.ProviderException was thrown.
Stack trace:
at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)
at System.Web.SessionState.SessionStateModule.CompleteAcquireState()
at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
at System.Web.AsyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Inner Error: Exception has been thrown by the target of an invocation
Stack trace:
at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)
Inner Error: Exception of type System.OutOfMemoryException was thrown.
Event 2Event Type: Error
Event Source: MSExchangeOMA
Event Category: (1000)
Event ID: 1503
Date:
dateTime:
timeUser: N/A
Computer:
servernameDescription:
An unknown error occurred while processing the current request: Exception of type System.OutOfMemoryException was thrown.
Event 3Event Type: Error
Event Source: MSExchangeOMA
Event Category: (1000)
Event ID: 1503
Date:
dateTime:
timeUser: N/A
Computer:
servernameDescription:
An unknown error occurred while processing the current request: Exception of type System.OutOfMemoryException was thrown.
RESOLUTION
To resolve this problem, follow these steps.
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
- Obtain and install the hotfix that is described in the following Microsoft Knowledge Base article:
820745 Failfast occurs when you experience an "out of memory" condition
- Configure the following registry entry with a value of 1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework
Value name: GCFailFastOnOOM
Value type: REG_DWORD
Value data: 1
After you configure this registry entry, if you experience an out-of-memory condition on your Exchange Server computer, an event that contains the following description is logged:Failed to allocate
numberOfbytes bytes with
numberOfbytes bytes in use and
numberOfbytes free bytes. Process will be TerminatedHowever, in this scenario, a new process is automatically started on the next user request. No administrative action is required.