Blecki / dwarfcorp

An open-source 3D colony management game for PC, Mac and Linux
http://www.dwarfcorp.com
Other
580 stars 69 forks source link

Out of memory while flushing instance manager #1034

Open mklingen opened 5 years ago

mklingen commented 5 years ago

https://sentry.io/organizations/cfg/issues/943423171/?project=192119&referrer=github_plugin

OutOfMemoryException: Insufficient memory to continue the execution of the program.
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Graphics\Instancing\TiledInstanceGroup.cs", line 128, in Flush
    Void Flush(Microsoft.Xna.Framework.Graphics.GraphicsDevice, DwarfCorp.Shader, DwarfCorp.Camera, DwarfCorp.InstanceRenderMode)
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Graphics\Instancing\InstanceRenderer.cs", line 43, in Flush
    Void Flush(Microsoft.Xna.Framework.Graphics.GraphicsDevice, DwarfCorp.Shader, DwarfCorp.Camera, DwarfCorp.InstanceRenderMode)
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Graphics\Effects\WaterRenderer.cs", line 232, in DrawReflectionMap
    Void DrawReflectionMap(System.Collections.Generic.IEnumerable`1[DwarfCorp.Body], DwarfCorp.DwarfTime, DwarfCorp.WorldManager, Single, Microsoft.Xna.Framework.Matrix, DwarfCorp.Shader, Microsoft.Xna.Framework.Graphics.GraphicsDevice)
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\World\WorldManager.cs", line 956, in Render
    Void Render(DwarfCorp.DwarfTime)
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\GameStates\PlayState.cs", line 500, in Render
    Void Render(DwarfCorp.DwarfTime)
...
(6 additional frame(s) were not displayed)

Insufficient memory to continue the execution of the program.