This object is in archive! 

Dedicated Server: Exception of type 'System.OutOfMemoryException' was thrown.

Kai Hackemesser shared this bug 3 years ago
Won't Fix

2020-06-03 15:52:29.498 - Thread: 1 -> Exception occured: ParallelTasks.TaskException: An exception(s) was thrown while executing a task.

at ParallelTasks.WorkItem.ThrowExceptionsInternal(Int32 runId)

at ParallelTasks.Task.WaitOrExecute(Boolean blocking)

at ParallelTasks.Parallel.For(Int32 startInclusive, Int32 endExclusive, Action`1 body, Int32 stride, WorkPriority priority, Nullable`1 options, Boolean blocking)

at Sandbox.Game.Entities.MyEntities.Load(List`1 objectBuilders)

Task exception, inner exception 0:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at System.Array.Resize[T](T[]& array, Int32 newSize)

at VRage.Library.Collections.MyFreeList`1.Allocate()

at VRage.Library.Memory.MyMemorySystem.RegisterAllocation(String debugName, Int64 size)

at VRage.Library.NativeArrayAllocator.NativeArrayImpl..ctor(Int32 size, MyMemorySystem memorySystem)

at VRage.Library.NativeArrayAllocator.VRage.Collections.IMyElementAllocator.Allocate(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.UnmanagedMemory`1.Create(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.Initialize(Int32 capacity)

at VRage.Library.Collections.NativeDictionary`2.Insert(TKey key, TValue value, Boolean add)

at Sandbox.Engine.Voxels.MySparseOctree.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyMicroOctreeLeaf.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadOctreeLeaf(Stream stream, ChunkHeader header, Boolean& isOldFormat, MyStorageDataTypeEnum dataType, UInt64& key, MyMicroOctreeLeaf& contentLeaf)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Game.World.Generator.MyCompositeShapes.CreateAsteroidStorage(MyVoxelMapStorageDefinition definition)

at Sandbox.Game.World.Generator.MyCompositeShapes.FillSpan(MyRandom random, Int32 version, Single idealSize, Span`1 shapes, ListReader`1 voxelMaps, Boolean prefferOnlyBestFittingSize)

at Sandbox.Game.World.Generator.MyCompositeShapes.CombinedGenerator(Int32 version, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapes.<>c__DisplayClass4_0.<.cctor>b__3(Int32 generatorSeed, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.InitFromState(State state)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.VRage.Voxels.IMyStorageDataProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyVoxelMap.Init(MyObjectBuilder_EntityBase builder)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.InitEntityData.CallInitEntity(Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.LoadEntity(Int32 i, InitEntityData[] results, List`1 objectBuilders)

at Sandbox.Game.Entities.MyEntities.<>c__DisplayClass185_1.b__0(Int32 i)

at ParallelTasks.ForLoopWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)

Task exception, inner exception 1:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at System.Array.Resize[T](T[]& array, Int32 newSize)

at VRage.Library.Collections.MyFreeList`1.Allocate()

at VRage.Library.Memory.MyMemorySystem.RegisterAllocation(String debugName, Int64 size)

at VRage.Library.NativeArrayAllocator.NativeArrayImpl..ctor(Int32 size, MyMemorySystem memorySystem)

at VRage.Library.NativeArrayAllocator.VRage.Collections.IMyElementAllocator.Allocate(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.UnmanagedMemory`1.Create(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)

at VRage.Library.Collections.NativeDictionary`2.Insert(TKey key, TValue value, Boolean add)

at Sandbox.Engine.Voxels.MySparseOctree.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyMicroOctreeLeaf.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadOctreeLeaf(Stream stream, ChunkHeader header, Boolean& isOldFormat, MyStorageDataTypeEnum dataType, UInt64& key, MyMicroOctreeLeaf& contentLeaf)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Game.World.Generator.MyCompositeShapes.CreateAsteroidStorage(MyVoxelMapStorageDefinition definition)

at Sandbox.Game.World.Generator.MyCompositeShapes.FillSpan(MyRandom random, Int32 version, Single idealSize, Span`1 shapes, ListReader`1 voxelMaps, Boolean prefferOnlyBestFittingSize)

at Sandbox.Game.World.Generator.MyCompositeShapes.CombinedGenerator(Int32 version, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapes.<>c__DisplayClass4_0.<.cctor>b__3(Int32 generatorSeed, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.InitFromState(State state)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.VRage.Voxels.IMyStorageDataProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyVoxelMap.Init(MyObjectBuilder_EntityBase builder)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.InitEntityData.CallInitEntity(Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.LoadEntity(Int32 i, InitEntityData[] results, List`1 objectBuilders)

at Sandbox.Game.Entities.MyEntities.<>c__DisplayClass185_1.b__0(Int32 i)

at ParallelTasks.ForLoopWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)

Task exception, inner exception 2:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at System.Array.Resize[T](T[]& array, Int32 newSize)

at VRage.Library.Collections.MyFreeList`1.Allocate()

at VRage.Library.Memory.MyMemorySystem.RegisterAllocation(String debugName, Int64 size)

at VRage.Library.NativeArrayAllocator.NativeArrayImpl..ctor(Int32 size, MyMemorySystem memorySystem)

at VRage.Library.NativeArrayAllocator.VRage.Collections.IMyElementAllocator.Allocate(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.UnmanagedMemory`1.Create(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)

at VRage.Library.Collections.NativeDictionary`2.Insert(TKey key, TValue value, Boolean add)

at Sandbox.Engine.Voxels.MySparseOctree.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyMicroOctreeLeaf.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadOctreeLeaf(Stream stream, ChunkHeader header, Boolean& isOldFormat, MyStorageDataTypeEnum dataType, UInt64& key, MyMicroOctreeLeaf& contentLeaf)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Game.World.Generator.MyCompositeShapes.CreateAsteroidStorage(MyVoxelMapStorageDefinition definition)

at Sandbox.Game.World.Generator.MyCompositeShapes.FillSpan(MyRandom random, Int32 version, Single idealSize, Span`1 shapes, ListReader`1 voxelMaps, Boolean prefferOnlyBestFittingSize)

at Sandbox.Game.World.Generator.MyCompositeShapes.CombinedGenerator(Int32 version, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapes.<>c__DisplayClass4_0.<.cctor>b__3(Int32 generatorSeed, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.InitFromState(State state)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.VRage.Voxels.IMyStorageDataProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyVoxelMap.Init(MyObjectBuilder_EntityBase builder)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.InitEntityData.CallInitEntity(Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.LoadEntity(Int32 i, InitEntityData[] results, List`1 objectBuilders)

at Sandbox.Game.Entities.MyEntities.<>c__DisplayClass185_1.b__0(Int32 i)

at ParallelTasks.ForLoopWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)

Task exception, inner exception 3:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at System.Array.Resize[T](T[]& array, Int32 newSize)

at VRage.Library.Collections.MyFreeList`1.Allocate()

at VRage.Library.Memory.MyMemorySystem.RegisterAllocation(String debugName, Int64 size)

at VRage.Library.NativeArrayAllocator.NativeArrayImpl..ctor(Int32 size, MyMemorySystem memorySystem)

at VRage.Library.NativeArrayAllocator.VRage.Collections.IMyElementAllocator.Allocate(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.UnmanagedMemory`1.Create(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)

at VRage.Library.Collections.NativeDictionary`2.Insert(TKey key, TValue value, Boolean add)

at Sandbox.Engine.Voxels.MySparseOctree.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyMicroOctreeLeaf.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadOctreeLeaf(Stream stream, ChunkHeader header, Boolean& isOldFormat, MyStorageDataTypeEnum dataType, UInt64& key, MyMicroOctreeLeaf& contentLeaf)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Game.World.Generator.MyCompositeShapes.CreateAsteroidStorage(MyVoxelMapStorageDefinition definition)

at Sandbox.Game.World.Generator.MyCompositeShapes.FillSpan(MyRandom random, Int32 version, Single idealSize, Span`1 shapes, ListReader`1 voxelMaps, Boolean prefferOnlyBestFittingSize)

at Sandbox.Game.World.Generator.MyCompositeShapes.CombinedGenerator(Int32 version, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapes.<>c__DisplayClass4_0.<.cctor>b__3(Int32 generatorSeed, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.InitFromState(State state)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.VRage.Voxels.IMyStorageDataProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyVoxelMap.Init(MyObjectBuilder_EntityBase builder)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.InitEntityData.CallInitEntity(Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.LoadEntity(Int32 i, InitEntityData[] results, List`1 objectBuilders)

at Sandbox.Game.Entities.MyEntities.<>c__DisplayClass185_1.b__0(Int32 i)

at ParallelTasks.ForLoopWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)

Task exception, inner exception 4:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at System.Array.Resize[T](T[]& array, Int32 newSize)

at VRage.Library.Collections.MyFreeList`1.Allocate()

at VRage.Library.Memory.MyMemorySystem.RegisterAllocation(String debugName, Int64 size)

at VRage.Library.NativeArrayAllocator.NativeArrayImpl..ctor(Int32 size, MyMemorySystem memorySystem)

at VRage.Library.NativeArrayAllocator.VRage.Collections.IMyElementAllocator.Allocate(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.UnmanagedMemory`1.Create(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.Initialize(Int32 capacity)

at VRage.Library.Collections.NativeDictionary`2.Insert(TKey key, TValue value, Boolean add)

at Sandbox.Engine.Voxels.MySparseOctree.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyMicroOctreeLeaf.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadOctreeLeaf(Stream stream, ChunkHeader header, Boolean& isOldFormat, MyStorageDataTypeEnum dataType, UInt64& key, MyMicroOctreeLeaf& contentLeaf)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Game.World.Generator.MyCompositeShapes.CreateAsteroidStorage(MyVoxelMapStorageDefinition definition)

at Sandbox.Game.World.Generator.MyCompositeShapes.FillSpan(MyRandom random, Int32 version, Single idealSize, Span`1 shapes, ListReader`1 voxelMaps, Boolean prefferOnlyBestFittingSize)

at Sandbox.Game.World.Generator.MyCompositeShapes.CombinedGenerator(Int32 version, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapes.<>c__DisplayClass4_0.<.cctor>b__3(Int32 generatorSeed, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.InitFromState(State state)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.VRage.Voxels.IMyStorageDataProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyVoxelMap.Init(MyObjectBuilder_EntityBase builder)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.InitEntityData.CallInitEntity(Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.LoadEntity(Int32 i, InitEntityData[] results, List`1 objectBuilders)

at Sandbox.Game.Entities.MyEntities.<>c__DisplayClass185_1.b__0(Int32 i)

at ParallelTasks.ForLoopWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)

Task exception, inner exception 5:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at System.Array.Resize[T](T[]& array, Int32 newSize)

at VRage.Library.Collections.MyFreeList`1.Allocate()

at VRage.Library.Memory.MyMemorySystem.RegisterAllocation(String debugName, Int64 size)

at VRage.Library.NativeArrayAllocator.NativeArrayImpl..ctor(Int32 size, MyMemorySystem memorySystem)

at VRage.Library.NativeArrayAllocator.VRage.Collections.IMyElementAllocator.Allocate(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.UnmanagedMemory`1.Create(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)

at VRage.Library.Collections.NativeDictionary`2.Insert(TKey key, TValue value, Boolean add)

at Sandbox.Engine.Voxels.MySparseOctree.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyMicroOctreeLeaf.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadOctreeLeaf(Stream stream, ChunkHeader header, Boolean& isOldFormat, MyStorageDataTypeEnum dataType, UInt64& key, MyMicroOctreeLeaf& contentLeaf)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Game.World.Generator.MyCompositeShapes.CreateAsteroidStorage(MyVoxelMapStorageDefinition definition)

at Sandbox.Game.World.Generator.MyCompositeShapes.FillSpan(MyRandom random, Int32 version, Single idealSize, Span`1 shapes, ListReader`1 voxelMaps, Boolean prefferOnlyBestFittingSize)

at Sandbox.Game.World.Generator.MyCompositeShapes.CombinedGenerator(Int32 version, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapes.<>c__DisplayClass4_0.<.cctor>b__3(Int32 generatorSeed, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.InitFromState(State state)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.VRage.Voxels.IMyStorageDataProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyVoxelMap.Init(MyObjectBuilder_EntityBase builder)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.InitEntityData.CallInitEntity(Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.LoadEntity(Int32 i, InitEntityData[] results, List`1 objectBuilders)

at Sandbox.Game.Entities.MyEntities.<>c__DisplayClass185_1.b__0(Int32 i)

at ParallelTasks.ForLoopWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)

Task exception, inner exception 6:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at System.Array.Resize[T](T[]& array, Int32 newSize)

at VRage.Library.Collections.MyFreeList`1.Allocate()

at VRage.Library.Memory.MyMemorySystem.RegisterAllocation(String debugName, Int64 size)

at VRage.Library.NativeArrayAllocator.NativeArrayImpl..ctor(Int32 size, MyMemorySystem memorySystem)

at VRage.Library.NativeArrayAllocator.VRage.Collections.IMyElementAllocator.Allocate(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.UnmanagedMemory`1.Create(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)

at VRage.Library.Collections.NativeDictionary`2.Insert(TKey key, TValue value, Boolean add)

at Sandbox.Engine.Voxels.MySparseOctree.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyMicroOctreeLeaf.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadOctreeLeaf(Stream stream, ChunkHeader header, Boolean& isOldFormat, MyStorageDataTypeEnum dataType, UInt64& key, MyMicroOctreeLeaf& contentLeaf)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Game.World.Generator.MyCompositeShapes.CreateAsteroidStorage(MyVoxelMapStorageDefinition definition)

at Sandbox.Game.World.Generator.MyCompositeShapes.FillSpan(MyRandom random, Int32 version, Single idealSize, Span`1 shapes, ListReader`1 voxelMaps, Boolean prefferOnlyBestFittingSize)

at Sandbox.Game.World.Generator.MyCompositeShapes.CombinedGenerator(Int32 version, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapes.<>c__DisplayClass4_0.<.cctor>b__3(Int32 generatorSeed, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.InitFromState(State state)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.VRage.Voxels.IMyStorageDataProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyVoxelMap.Init(MyObjectBuilder_EntityBase builder)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.InitEntityData.CallInitEntity(Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.LoadEntity(Int32 i, InitEntityData[] results, List`1 objectBuilders)

at Sandbox.Game.Entities.MyEntities.<>c__DisplayClass185_1.b__0(Int32 i)

at ParallelTasks.ForLoopWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)

Task exception, inner exception 7:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at System.Array.Resize[T](T[]& array, Int32 newSize)

at VRage.Library.Collections.MyFreeList`1.Allocate()

at VRage.Library.Memory.MyMemorySystem.RegisterAllocation(String debugName, Int64 size)

at VRage.Library.NativeArrayAllocator.NativeArrayImpl..ctor(Int32 size, MyMemorySystem memorySystem)

at VRage.Library.NativeArrayAllocator.VRage.Collections.IMyElementAllocator.Allocate(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.UnmanagedMemory`1.Create(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)

at VRage.Library.Collections.NativeDictionary`2.Insert(TKey key, TValue value, Boolean add)

at Sandbox.Engine.Voxels.MySparseOctree.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyMicroOctreeLeaf.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadOctreeLeaf(Stream stream, ChunkHeader header, Boolean& isOldFormat, MyStorageDataTypeEnum dataType, UInt64& key, MyMicroOctreeLeaf& contentLeaf)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Game.World.Generator.MyCompositeShapes.CreateAsteroidStorage(MyVoxelMapStorageDefinition definition)

at Sandbox.Game.World.Generator.MyCompositeShapes.FillSpan(MyRandom random, Int32 version, Single idealSize, Span`1 shapes, ListReader`1 voxelMaps, Boolean prefferOnlyBestFittingSize)

at Sandbox.Game.World.Generator.MyCompositeShapes.CombinedGenerator(Int32 version, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapes.<>c__DisplayClass4_0.<.cctor>b__3(Int32 generatorSeed, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.InitFromState(State state)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.VRage.Voxels.IMyStorageDataProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyVoxelMap.Init(MyObjectBuilder_EntityBase builder)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.InitEntityData.CallInitEntity(Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.LoadEntity(Int32 i, InitEntityData[] results, List`1 objectBuilders)

at Sandbox.Game.Entities.MyEntities.<>c__DisplayClass185_1.b__0(Int32 i)

at ParallelTasks.ForLoopWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)

Task exception, inner exception 8:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at System.Array.Resize[T](T[]& array, Int32 newSize)

at VRage.Library.Collections.MyFreeList`1.Allocate()

at VRage.Library.Memory.MyMemorySystem.RegisterAllocation(String debugName, Int64 size)

at VRage.Library.NativeArrayAllocator.NativeArrayImpl..ctor(Int32 size, MyMemorySystem memorySystem)

at VRage.Library.NativeArrayAllocator.VRage.Collections.IMyElementAllocator.Allocate(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.UnmanagedMemory`1.Create(Int32 size)

at VRage.Library.Collections.NativeDictionary`2.Initialize(Int32 capacity)

at VRage.Library.Collections.NativeDictionary`2.Insert(TKey key, TValue value, Boolean add)

at Sandbox.Engine.Voxels.MySparseOctree.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyMicroOctreeLeaf.ReadFrom(ChunkHeader header, Stream stream)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadOctreeLeaf(Stream stream, ChunkHeader header, Boolean& isOldFormat, MyStorageDataTypeEnum dataType, UInt64& key, MyMicroOctreeLeaf& contentLeaf)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Game.World.Generator.MyCompositeShapes.CreateAsteroidStorage(MyVoxelMapStorageDefinition definition)

at Sandbox.Game.World.Generator.MyCompositeShapes.FillSpan(MyRandom random, Int32 version, Single idealSize, Span`1 shapes, ListReader`1 voxelMaps, Boolean prefferOnlyBestFittingSize)

at Sandbox.Game.World.Generator.MyCompositeShapes.CombinedGenerator(Int32 version, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapes.<>c__DisplayClass4_0.<.cctor>b__3(Int32 generatorSeed, Int32 seed, Single size)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.InitFromState(State state)

at Sandbox.Game.World.Generator.MyCompositeShapeProvider.VRage.Voxels.IMyStorageDataProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyVoxelMap.Init(MyObjectBuilder_EntityBase builder)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.InitEntityData.CallInitEntity(Boolean tolerateBlacklistedPlanets)

at Sandbox.Game.Entities.MyEntities.LoadEntity(Int32 i, InitEntityData[] results, List`1 objectBuilders)

at Sandbox.Game.Entities.MyEntities.<>c__DisplayClass185_1.b__0(Int32 i)

at ParallelTasks.ForLoopWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)

Replies (4)

photo
1

Hello, Engineer!


Thank you for contacting us. I see that you use several mods, can you please confirm this issue also occurs without mods?

Thank you!


Kind Regards

Keen Software House: QA Department

photo
1

Sorry I can't right now - I would have to start a completely new vanilla DS game for that.

Can I do some monitoring or debugging on my side in rgeads of memory leaks? A memory profiler for example?

photo
1

Hello, Kai

I appreciate this thread is quite old. Is this still an issue that persists with you? If it has since been resolved, I will close this thread for you :) please let me know.

Kind Regards

Laura, QA Department

photo
1

Sure, close it. I am not actively playing or testing right now :)

photo
1

Hello, Kai!

THank you for letting us know. Please do not hesitate to get in contact if you have any further issues :)

Kind Regards

Laura, QA Department

Replies have been locked on this page!