Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. Hello Guest!
    Welcome to the Bug Report forum, please make sure you search for your problem before posting here. If you post a duplicate (that you post the same issue while other people have already done that before) you will be given a warning point which can eventually lead into account limitations !

    Here you can find a guide on how to post a good bug report thread.
    Space Engineers version --- Medieval Engineers version
  2. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

1.184.006 System.OutOfMemoryException

Discussion in 'Bug Reports' started by lordstarwolf, Sep 18, 2017.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. lordstarwolf Trainee Engineer

    Messages:
    6
    Getting this crash everytime I've damaged a block. Only started last patch. 16 gb of memory available, only 7ish used at time of crash.

    2017-09-17 19:04:44.203 - Thread: 1 -> Autosave
    2017-09-17 19:04:44.206 - Thread: 1 -> Saving world - START
    2017-09-17 19:04:44.207 - Thread: 1 -> Making world state snapshot.
    2017-09-17 19:04:44.207 - Thread: 1 -> Before snapshot.: GC Memory: 1,016,325,672 B
    2017-09-17 19:04:44.276 - Thread: 1 -> After snapshot.: GC Memory: 1,017,012,904 B
    2017-09-17 19:04:44.278 - Thread: 1 -> Directory cleanup: GC Memory: 1,017,012,904 B
    2017-09-17 19:04:44.278 - Thread: 1 -> Saving world - END
    2017-09-17 19:04:44.283 - Thread: 10 -> Session snapshot save - START
    2017-09-17 19:04:44.285 - Thread: 10 -> Checking file access for files in target dir.
    2017-09-17 19:04:44.436 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START
    2017-09-17 19:04:44.437 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END
    2017-09-17 19:04:45.020 - Thread: 10 -> Session snapshot save - END
    2017-09-17 19:04:51.097 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START
    2017-09-17 19:04:51.098 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END
    2017-09-17 19:04:57.528 - Thread: 9 -> CreateCompressedMsg: Type: MyObjectBuilder_CubeGrid Name: EntityID: 1CAA7715176E9DF
    2017-09-17 19:04:57.572 - Thread: 9 -> Status: Exists(True) InScene(True)
    2017-09-17 19:05:13.200 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START
    2017-09-17 19:05:13.201 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END
    2017-09-17 19:05:13.936 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START
    2017-09-17 19:05:13.937 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END
    2017-09-17 19:05:14.205 - Thread: 1 -> GC Memory: 1,021,887,392 B
    2017-09-17 19:05:21.284 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START
    2017-09-17 19:05:21.285 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END
    2017-09-17 19:05:36.448 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START
    2017-09-17 19:05:36.449 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END
    2017-09-17 19:05:37.402 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START
    2017-09-17 19:05:37.403 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END
    2017-09-17 19:06:17.451 - Thread: 1 -> Exception occured: System.OutOfMemoryException: Array dimensions exceeded supported range.
    at System.Collections.Generic.List`1.set_Capacity(Int32 value)
    at System.Collections.Generic.ListExtensions.AddArray[T](List`1 list, T[] itemsToAdd, Int32 itemCount)
    at Sandbox.Game.Entities.MyCubeGrid.AddGroup(MyBlockGroup group)
    at Sandbox.Game.Entities.MyCubeGrid.OnModifyGroupSuccess(String name, List`1 blocks)
    at VRage.Network.MyReplicationLayerBase.InvokeLocally[T1,T2,T3,T4,T5,T6,T7](CallSite`7 site, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
    at VRage.Network.MyReplicationSingle.DispatchEvent[T1,T2,T3,T4,T5,T6,T7,T8](CallSite callSite, EndpointId recipient, Single unreliablePriority, T1& arg1, T2& arg2, T3& arg3, T4& arg4, T5& arg5, T6& arg6, T7& arg7, T8& arg8)
    at VRage.Network.MyReplicationLayerBase.RaiseEvent[T1,T2,T3,T4](T1 arg1, T4 arg4, Func`2 action, T2 arg2, T3 arg3, EndpointId endpointId, Single unreliablePriority)
    at Sandbox.Game.Entities.MyCubeGrid.ModifyGroup(MyBlockGroup group)
    at Sandbox.Game.Entities.Cube.MyCubeGridSystems.TerminalSystem_GroupRemoved(MyBlockGroup group)
    at Sandbox.Game.GameSystems.MyGridTerminalSystem.RemoveGroup(MyBlockGroup gridGroup, Boolean fireEvent)
    at Sandbox.Game.GameSystems.MyGridTerminalSystem.Remove(MyTerminalBlock block)
    at Sandbox.Game.Entities.Cube.MyCubeGridSystems.UnregisterFromSystems(MyCubeBlock block)
    at Sandbox.Game.Entities.MyCubeGrid.RemoveBlockInternal(MySlimBlock block, Boolean close, Boolean markDirtyDisconnects)
    at Sandbox.Game.Entities.MyCubeGrid.RemoveDestroyedBlockInternal(MySlimBlock block)
    at Sandbox.Game.Entities.MyCubeGrid.RemoveDestroyedBlock(MySlimBlock block, Int64 attackerId)
    at Sandbox.Game.Entities.Cube.MySlimBlock.ApplyAccumulatedDamage(Boolean addDirtyParts, Int64 attackerId)
    at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamageInternal(Single damage, MyStringHash damageType, Boolean addDirtyParts, Nullable`1 hitInfo, Int64 attackerId)
    at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamage(Single damage, MyStringHash damageType, Nullable`1 hitInfo, Boolean addDirtyParts, Int64 attackerId)
    at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamageSynced(MySlimBlock block, Single damage, MyStringHash damageType, Nullable`1 hitInfo, Int64 attackerId)
    at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamage(Single damage, MyStringHash damageType, Boolean sync, Nullable`1 hitInfo, Int64 attackerId)
    at Sandbox.Game.MyExplosion.ApplyVolumetricDamageToGrid(MyGridExplosion damageInfo, Int64 attackerId)
    at Sandbox.Game.MyExplosion.ApplyVolumetricDamageToGrid()
    at Sandbox.Game.MyExplosions.UpdateBeforeSimulation()
    at Sandbox.Game.World.MySession.UpdateComponents()
    at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
    at Sandbox.MySandboxGame.Update()
    at Sandbox.Engine.Platform.Game.UpdateInternal()
    at Sandbox.Engine.Platform.Game.RunSingleFrame()
    at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass1.<Run>b__0()
    at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
    at Sandbox.Engine.Platform.Game.RunLoop()
    at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
    at SpaceEngineers.MyProgram.Main(String[] args)
    2017-09-17 19:06:17.452 - Thread: 1 -> Handling out of memory exception... Sandbox.Engine.Utils.MyConfig
    2017-09-17 19:06:17.453 - Thread: 1 -> Creating switch to low request
    2017-09-17 19:06:17.453 - Thread: 1 -> MyConfig.Save() - START
    2017-09-17 19:06:17.454 - Thread: 1 -> Path: C:\Users\Wolf\AppData\Roaming\SpaceEngineers\SpaceEngineers.cfg
    2017-09-17 19:06:17.476 - Thread: 1 -> MyConfig.Save() - END
    2017-09-17 19:06:17.476 - Thread: 1 -> Switch to low request created
    2017-09-17 19:06:17.476 - Thread: 1 -> Exception occured: System.OutOfMemoryException: Array dimensions exceeded supported range.
    at System.Collections.Generic.List`1.set_Capacity(Int32 value)
    at System.Collections.Generic.ListExtensions.AddArray[T](List`1 list, T[] itemsToAdd, Int32 itemCount)
    at Sandbox.Game.Entities.MyCubeGrid.AddGroup(MyBlockGroup group)
    at Sandbox.Game.Entities.MyCubeGrid.OnModifyGroupSuccess(String name, List`1 blocks)
    at VRage.Network.MyReplicationLayerBase.InvokeLocally[T1,T2,T3,T4,T5,T6,T7](CallSite`7 site, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
    at VRage.Network.MyReplicationSingle.DispatchEvent[T1,T2,T3,T4,T5,T6,T7,T8](CallSite callSite, EndpointId recipient, Single unreliablePriority, T1& arg1, T2& arg2, T3& arg3, T4& arg4, T5& arg5, T6& arg6, T7& arg7, T8& arg8)
    at VRage.Network.MyReplicationLayerBase.RaiseEvent[T1,T2,T3,T4](T1 arg1, T4 arg4, Func`2 action, T2 arg2, T3 arg3, EndpointId endpointId, Single unreliablePriority)
    at Sandbox.Game.Entities.MyCubeGrid.ModifyGroup(MyBlockGroup group)
    at Sandbox.Game.Entities.Cube.MyCubeGridSystems.TerminalSystem_GroupRemoved(MyBlockGroup group)
    at Sandbox.Game.GameSystems.MyGridTerminalSystem.RemoveGroup(MyBlockGroup gridGroup, Boolean fireEvent)
    at Sandbox.Game.GameSystems.MyGridTerminalSystem.Remove(MyTerminalBlock block)
    at Sandbox.Game.Entities.Cube.MyCubeGridSystems.UnregisterFromSystems(MyCubeBlock block)
    at Sandbox.Game.Entities.MyCubeGrid.RemoveBlockInternal(MySlimBlock block, Boolean close, Boolean markDirtyDisconnects)
    at Sandbox.Game.Entities.MyCubeGrid.RemoveDestroyedBlockInternal(MySlimBlock block)
    at Sandbox.Game.Entities.MyCubeGrid.RemoveDestroyedBlock(MySlimBlock block, Int64 attackerId)
    at Sandbox.Game.Entities.Cube.MySlimBlock.ApplyAccumulatedDamage(Boolean addDirtyParts, Int64 attackerId)
    at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamageInternal(Single damage, MyStringHash damageType, Boolean addDirtyParts, Nullable`1 hitInfo, Int64 attackerId)
    at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamage(Single damage, MyStringHash damageType, Nullable`1 hitInfo, Boolean addDirtyParts, Int64 attackerId)
    at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamageSynced(MySlimBlock block, Single damage, MyStringHash damageType, Nullable`1 hitInfo, Int64 attackerId)
    at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamage(Single damage, MyStringHash damageType, Boolean sync, Nullable`1 hitInfo, Int64 attackerId)
    at Sandbox.Game.MyExplosion.ApplyVolumetricDamageToGrid(MyGridExplosion damageInfo, Int64 attackerId)
    at Sandbox.Game.MyExplosion.ApplyVolumetricDamageToGrid()
    at Sandbox.Game.MyExplosions.UpdateBeforeSimulation()
    at Sandbox.Game.World.MySession.UpdateComponents()
    at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
    at Sandbox.MySandboxGame.Update()
    at Sandbox.Engine.Platform.Game.UpdateInternal()
    at Sandbox.Engine.Platform.Game.RunSingleFrame()
    at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass1.<Run>b__0()
    at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
    at Sandbox.Engine.Platform.Game.RunLoop()
    at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
    at SpaceEngineers.MyProgram.Main(String[] args)
    2017-09-17 19:06:17.476 - Thread: 1 -> Hiding window
    2017-09-17 19:06:17.476 - Thread: 1 -> Hiding window done
    2017-09-17 19:06:17.476 - Thread: 1 -> Showing message
     
  2. joonabbi Trainee Engineer

    Messages:
    15
    I have this exactly same crash. Would like to see some answers.. Currently can't play a few of my saves because of this.
     
  3. Forcedminer Senior Engineer

    Messages:
    2,227
    I don't like that word...Exception...

    it's always something to do with ether needing admin or elevated right or a file is damaged somehow... :/


    out of curiosity how much...RAM do you have? just because it is saying out of memory..
    I had 8 GB's in my old laptop but never had an error like that.
    even though at the time it would almost always be at 80% useage
     
  4. zDeveloper10 Junior Engineer

    Messages:
    742
    exceptions can be thrown for a variety of other reasons.
     
Thread Status:
This last post in this thread was made more than 31 days old.