When NCrunch compiles our test project, I get these OutOfMemoryException. Unfortunately the exception occurs not every time, approximately 4 out of 5 times. The Microsoft compiler works without problems and compiles the project every time. If you need any more information please let me know.
NCrunch: This project was built on server '(local)'
NCrunch: The tests in this project were discovered on server '(local)'
System.OutOfMemoryException: Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst.
bei _Mono.Cecil.PE.ByteBuffer.Grow(Int32 desired)
bei _Mono.Cecil.PE.ByteBuffer.WriteBytes(Byte[] bytes)
bei _Mono.Cecil.MetadataBuilder.AddResources()
bei _Mono.Cecil.MetadataBuilder.BuildModule()
bei _Mono.Cecil.ModuleWriter.<>c.<BuildMetadata>b__1_0(MetadataBuilder builder, MetadataReader _)
bei _Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TItem item, Func`3 read)
bei _Mono.Cecil.ModuleWriter.BuildMetadata(ModuleDefinition module, MetadataBuilder metadata)
bei _Mono.Cecil.ModuleWriter.WriteModuleTo(ModuleDefinition module, Stream stream, WriterParameters parameters)
bei _Mono.Cecil.ModuleDefinition.Write(Stream stream, WriterParameters parameters)
bei _Mono.Cecil.ModuleDefinition.Write(String fileName, WriterParameters parameters)
bei nCrunch.Compiler.OldStaticManipulation.BuiltAssembly..()
bei nCrunch.Compiler.OldStaticManipulation.BuiltAssembly.(Action )
bei nCrunch.Compiler.OldStaticManipulation.BuiltAssembly..()
bei nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
bei nCrunch.Compiler.OldStaticManipulation.BuiltAssembly.Instrument(IInstrumentationFilter[] instrumentationFilters, PerfTracker perfTracker)
bei nCrunch.Compiler.RemoteBuildRunner.(ComponentBuildParameters , FilePath , BuildOutput , DirectoryPath[] , FilePath[] )
bei nCrunch.Compiler.RemoteBuildRunner..()
bei nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
bei nCrunch.Compiler.RemoteBuildRunner.(ComponentBuildParameters )