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. The forum will be closing soon permanently. Please read the announcement here

    Note: User registration has been closed. We do not accept any new accounts.

01.118.08 Memory Leak

Discussion in 'Bug Reports' started by Doctor Octoganapus, Jan 22, 2016.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. Doctor Octoganapus

    Doctor Octoganapus Trainee Engineer

    Messages:
    41
    Just working on a little side project when I had to use the restroom. When I came back the game wasn't responding and then I took a look at Task Manager and well this isn't normal : [​IMG]
     
  2. Overseer

    Overseer Trainee Engineer

    Messages:
    5
    Do you happen to be running a heavily-modded game when this happens? I know I have had this issue before with a heavy mod load. If it's not a heavy load, it may be a particular mod that's causing the issue.
     
  3. Doctor Octoganapus

    Doctor Octoganapus Trainee Engineer

    Messages:
    41
    This has so far happened twice, one was a heavily modded game the other happened while making a new custom planet for my collection (Which the only mod was the custom planet itself).
     
    Last edited: Jan 22, 2016
  4. BorisTheAnimal

    BorisTheAnimal Trainee Engineer

    Messages:
    6
    our DS slowly grows in memory size till it gets to around 4.5G in 30-40min and then reboots, we have 64 mods. how should i go about finding which mod could be causing it?
    i still think it is a core game issue tho
     
  5. BorisTheAnimal

    BorisTheAnimal Trainee Engineer

    Messages:
    6
    2016-01-23 01:58:57.636 - Thread: 1 -> Saving world - END
    2016-01-23 01:58:57.636 - Thread: 18 -> Session snapshot save - START
    2016-01-23 01:58:57.636 - Thread: 18 -> Checking file access for files in target dir.
    2016-01-23 01:58:59.324 - Thread: 18 -> Session snapshot save - END
    2016-01-23 01:59:07.044 - Thread: 1 -> GC Memory: 3,696,611,192 B
    2016-01-23 01:59:37.053 - Thread: 1 -> GC Memory: 3,716,113,104 B
    2016-01-23 02:00:07.061 - Thread: 1 -> GC Memory: 3,731,365,296 B
    2016-01-23 02:00:37.071 - Thread: 1 -> GC Memory: 3,743,239,120 B
    2016-01-23 02:00:56.503 - 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.List`1.Add(T item)
    at Sandbox.Game.GameSystems.MyGridGasSystem.PressurizeProcessQueue(Int32 count)
    at Sandbox.Game.GameSystems.MyGridGasSystem.UpdateBeforeSimulation()
    at Sandbox.Game.Entities.Cube.MyCubeGridSystems.UpdateBeforeSimulation()
    at Sandbox.Game.Entities.MyCubeGrid.UpdateBeforeSimulation()
    at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation()
    at Sandbox.Game.World.MySector.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.FixedLoop.<>c__DisplayClass2.<Run>b__1()
    at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
    at Sandbox.Engine.Platform.Game.RunLoop()
    at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
    at VRage.Dedicated.DedicatedServer.RunInternal()
    at VRage.Dedicated.DedicatedServer.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole)
    at VRage.Dedicated.DedicatedServer.ProcessArgs(String[] args)
    at VRage.Dedicated.DedicatedServer.Run[T](String[] args)
    at SpaceEngineersDedicated.MyProgram.Main(String[] args)
    2016-01-23 02:00:56.505 - Thread: 1 -> Handling out of memory exception... Sandbox.Engine.Utils.MyConfig
    2016-01-23 02:00:56.507 - Thread: 1 -> Creating switch to low request
    2016-01-23 02:00:56.509 - Thread: 1 -> Switch to low request created
    2016-01-23 02:00:56.510 - 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.List`1.Add(T item)
    at Sandbox.Game.GameSystems.MyGridGasSystem.PressurizeProcessQueue(Int32 count)
    at Sandbox.Game.GameSystems.MyGridGasSystem.UpdateBeforeSimulation()
    at Sandbox.Game.Entities.Cube.MyCubeGridSystems.UpdateBeforeSimulation()
    at Sandbox.Game.Entities.MyCubeGrid.UpdateBeforeSimulation()
    at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation()
    at Sandbox.Game.World.MySector.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.FixedLoop.<>c__DisplayClass2.<Run>b__1()
    at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
    at Sandbox.Engine.Platform.Game.RunLoop()
    at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
    at VRage.Dedicated.DedicatedServer.RunInternal()
    at VRage.Dedicated.DedicatedServer.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole)
    at VRage.Dedicated.DedicatedServer.ProcessArgs(String[] args)
    at VRage.Dedicated.DedicatedServer.Run[T](String[] args)
    at SpaceEngineersDedicated.MyProgram.Main(String[] args)
    2016-01-23 02:00:56.510 - Thread: 1 -> Hiding window
    2016-01-23 02:00:56.717 - Thread: 1 -> Network readers disposed
    2016-01-23 02:00:56.719 - Thread: 1 -> Logging off Steam...
    2016-01-23 02:00:56.720 - Thread: 1 -> Shutting down server...
    2016-01-23 02:00:56.834 - Thread: 1 -> Done
    2016-01-23 02:00:56.836 - Thread: 1 -> Hiding window done
    2016-01-23 02:00:56.836 - Thread: 1 -> Showing message
    2016-01-23 02:00:56.841 - Thread: 1 -> ERROR: branch name cannot be resolved, services=
    2016-01-23 02:00:56.841 - Thread: 1 -> ERROR: branch name cannot be resolved, services=
    2016-01-23 02:00:56.841 - Thread: 1 -> ERROR: branch name cannot be resolved, services=
     
  6. Commander Rotal

    Commander Rotal Master Engineer

    Messages:
    4,979
    Strategy A: Don't use mods.
    Strategy B: Make a list of all your mods, alphabetically. Procuce a cut in the middle of that list and only load the first half. If the game is fine after an hour, it's not one in that half. Repeat with the second half, you should notice the problem (unless the problem comes from a combination of two or more mods or it's the sheer amount of mods). Repeat the halfing process and use less and less mods until you find the broken one. If that doesn't help refer back to Strategy Number A.
     
    • Agree Agree x 1
  7. shiznit304

    shiznit304 Trainee Engineer

    Messages:
    6
    I'm using version 118.011 and I'm getting this memory leak issue too. I don't use any mods. I created a new world on planetary easy start and the game takes up 99% of my 8gb of ram.
     
  8. shiznit304

    shiznit304 Trainee Engineer

    Messages:
    6
    [​IMG]
    I reinstalled space engineers and cleared my appdata for space engineers. I created new world on lone survivor and i'm getting this.
     
  9. Galenmacil

    Galenmacil Trainee Engineer

    Messages:
    24
    I can confirm something is not right with the way Space Engineers handle memory. Granted I use a lot of mods but most of them are blocks... I have seen it gobble up the full 32GB I have on my machine several time. Crashing the system in the process... This seems to be new since 1.118.
     
  10. Draygo

    Draygo Senior Engineer

    Messages:
    1,297
    Looks like the leak is linked to the gas system. Hrm.
     
Thread Status:
This last post in this thread was made more than 31 days old.