troubleshooting Question

Exchange 2007 : MapiExceptionNotEnoughMemory: Unable to SetSearchCriteria

Avatar of unisolutions
unisolutionsFlag for Australia asked on
Exchange
24 Comments1 Solution4236 ViewsLast Modified:
Hi all,

Exchange 2007 on Win2008 with 8gb of RAM and 500gb of disk.

99% of the users can access OWA.  Some cannot and get thrown out after authentication with error :

Exception
Exception type: Microsoft.Exchange.Data.Storage.StorageTransientException
Exception message: Cannot set search criteria in SearchFolder.

Call stack

Microsoft.Exchange.Data.Storage.SearchFolder.SetSearchCriteria(Restriction restriction, Byte[][] folderScopeEntryIds, SearchCriteriaFlags searchCriteriaFlags)
Microsoft.Exchange.Data.Storage.SearchFolder.ApplyContinuousSearch(SearchFolderCriteria searchFolderCriteria)
Microsoft.Exchange.Data.Storage.DefaultFolderManager.VerifyAndFixRemindersSearchFolder(StoreId reminderSearchFolderId)
Microsoft.Exchange.Data.Storage.DefaultFolderManager.GetDefaultFolderId(DefaultFolderType defaultFolderType)
Microsoft.Exchange.Clients.Owa.Core.UserContext.GetDefaultFolderId(DefaultFolderType defaultFolderType, String folderName)
Microsoft.Exchange.Clients.Owa.Core.UserContext.get_RemindersSearchFolderId()
Microsoft.Exchange.Clients.Owa.Premium.StartPage.OnInit(EventArgs e)
System.Web.UI.Control.InitRecursive(Control namingContainer)
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Inner Exception
Exception type: Microsoft.Mapi.MapiExceptionNotEnoughMemory
Exception message: MapiExceptionNotEnoughMemory: Unable to SetSearchCriteria. (hr=0x8007000e, ec=1008) Diagnostic context: Lid: 18969 EcDoRpcExt2 called [length=491] Lid: 27161 EcDoRpcExt2 returned [ec=0x0][length=580][latency=15] Lid: 23226 --- ROP Parse Start --- Lid: 27962 ROP: ropSetSearchCriteria [48] Lid: 17082 ROP Error: 0x3F0 Lid: 27745 Lid: 21921 StoreEc: 0x3F0 Lid: 27962 ROP: ropExtendedError [250] Lid: 1494 ---- Remote Context Beg ---- Lid: 1238 Remote Context Overflow Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 7155 StoreEc: 0x3F0 Lid: 6131 StoreEc: 0x3F0 Lid: 7728 StoreEc: 0x3F0 Lid: 8112 StoreEc: 0x3F0 Lid: 1750 ---- Remote Context End ---- Lid: 26849 Lid: 21817 ROP Failure: 0x3F0 Lid: 30353 Lid: 19089 StoreEc: 0x3F0 Lid: 18065 Lid: 26257 StoreEc: 0x3F0

Call stack

Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Object objLastErrorInfo)
Microsoft.Mapi.MapiFolder.SetSearchCriteria(Restriction restriction, Byte[][] entryIds, SearchCriteriaFlags flags)
Microsoft.Exchange.Data.Storage.SearchFolder.SetSearchCriteria(Restriction restriction, Byte[][] folderScopeEntryIds, SearchCriteriaFlags searchCriteriaFlags)



I tried disabling Back Pressure (set EnableResourceMonitoring to false). No change
I tried changing the page file usage (change the value of msExchESEParmCacheSizeMax via ADSIEdit).  No change.
I tried disabling/recreating the user's mailbox.  No change.
I even tried deleting the user.  No change.

What am I missing ? 8gb of RAM on an Exchange box isn't enough ?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 24 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 24 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros