web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Errors in system tasks "Array dimensions exceeded supported range."

(0) ShareShare
ReportReport
Posted on by

Hi,

I suddently have this error in the system tasks dashboard (CRM Dynamics 2016 Online) : 

Array dimensions exceeded supported range.

Unhandled Exception: System.OutOfMemoryException: Array dimensions exceeded supported range.
at System.Collections.Hashtable.rehash(Int32 newsize, Boolean forceNewHashCode)
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Web.Caching.CacheEntry.AddCacheDependencyNotify(CacheDependency dependency)
at System.Web.Caching.CacheDependency.Init(Boolean isPublic, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart)
at System.Web.Caching.CacheDependency..ctor(String[] filenames, String[] cachekeys, CacheDependency dependency)
at Microsoft.Crm.CrmCache`1.CreateRootDependency()
at Microsoft.Crm.CrmCache`1.InternalAddEntry(String cacheKey, Object value, String[] dependencyKeys, IOrganizationContext context)
at Microsoft.Crm.CrmCache`1.AddEntryNoLock(String key, TValue value, String[] dependencyKeys, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.AddEntityFromLookupInternal(String key, TValue value, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCache`2.AddEntryFromLookupCallback(String key, TValue value, IOrganizationContext context, Object parameter)
at Microsoft.Crm.CrmCache`1.AddEntry(String key, TValue value, IOrganizationContext context, AddEntryCallback`1 callback, Object callbackParameter)
at Microsoft.Crm.Caching.CrmMultiOrgCache`2.AddEntryFromLookup(String key, TValue value, IOrganizationContext context)
at Microsoft.Crm.Caching.SdkMessageFilterCache.AddEntryFromLookup(String key, SharedBusinessEntity value, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.Caching.StepDescriptionLoader.CreateMessageProcessorKey(Guid messageId, Guid filterId, Int32 invocationSource, ExecutionContext context)
at Microsoft.Crm.Caching.StepDescriptionLoader.LoadCacheData(Guid key, ExecutionContext context)
at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.Asynchronous.EventOperation.GetPluginTypeId(AsyncExecutionContext context)
at Microsoft.Crm.Asynchronous.EventOperation.GetPluginAssembly(AsyncExecutionContext context)
at Microsoft.Crm.Asynchronous.EventOperation.InternalExecute(AsyncEvent asyncEvent)
at Microsoft.Crm.Asynchronous.AsyncEventHandlerCommand`1.Execute(IAsyncEvent asyncEvent)
at Microsoft.Crm.Asynchronous.AsyncEventExecutionManager`2.ExecuteCommand(IAsyncEventHandlerFactory handlerFactory)
at Microsoft.Crm.Asynchronous.AsyncEventExecutionManager`2.ExecuteHandler(IAsyncEventHandlerFactory handlerFactory)
at Microsoft.Crm.Asynchronous.PoolHandler.ProcessAsyncEvent(IAsyncEventExecutionManager asyncEventExecutionManager)

I've no idea what this error means. This error appears mostly on following system event  : crm2mdm: Update of lead (when a lead is created). The error appeared yesterday.

Thx for your help (again...) !

*This post is locked for comments

I have the same question (0)
  • Oswin Profile Picture
    on at

    Experienced the same error messages a few days ago. A lot of system jobs were triggered in a short time (due to a bulk update action), eventually failing all with said error message.

    Judging by the stacktrace this could have something to do with the cache overflowing, rejecting new entries. Sadly the system jobs didn't restart and I'm not stuck with thousands of 'waiting for retry' jobs.

    Anyone else with occurrences of this error message or a better idea of what's going on?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans