Build/Test Issues

OutOfMemoryException when building

Started by ignitionweb on 5,098 views

NCrunch for Visual Studio 2015 2.18.0.3

ENGINE - [18:08:47.9627-Core-11] ERROR (Internal): System.OutOfMemoryException: Array dimensions exceeded supported range.
at System.Collections.Generic.List`1.set_Capacity(Int32 value)
at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)
at System.Collections.Generic.List`1.Insert(Int32 index, T item)
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.(List`1 , SnapshotComponent )
at nCrunch.Core.SnapshotComponent.GetFlattenedDependencies()
at nCrunch.Client.Processing.LocalTestExecutionTask.DoGetDependencies()
at nCrunch.Client.Processing.LocalProcessingTask.GetDependencies()
at nCrunch.Client.Processing.ProcessingQueue.(LocalProcessingTask , GridNodeId )
at nCrunch.Client.Processing.ProcessingQueue.(LocalProcessingTask , QueueTaskSearchConditions )
at nCrunch.Client.Processing.ProcessingQueue.(LocalProcessingTask , QueueTaskSearchConditions )
at nCrunch.Client.Processing.ProcessingQueue..(LocalProcessingTask )
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at nCrunch.Client.Processing.ProcessingQueue.()


Any assistance would be useful, we have ~15 licenses which are currently useless.
Hi,

Thanks for sharing this issue. It looks to me like you somehow have a recursive project reference inside your solution.

Do you have the 'Infer project references using assembly name' setting enabled?

I recommend selectively unloading projects in your solution until you can identify the circular dependency.

Post a reply

Log in to reply.