dwarfcorp
dwarfcorp copied to clipboard
Tracking: OutofMemoryException while creating overworld texture
Edit 4/26/18: This has been turned into a tracking bug. Any occurrences of the issue can be reported here.
https://sentry.io/cfg/dwarfcorp/issues/399903039/
OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\AssetManagement\GameSave\OverworldFile.cs", line 94, in CreateTexture
Microsoft.Xna.Framework.Graphics.Texture2D CreateTexture(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Int32, Int32, Single)
File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\AssetManagement\GameSave\OverworldFile.cs", line 129, in .ctor
Void .ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, MapData[,], System.String, Single)
File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\AssetManagement\GameSave\OverworldFile.cs", line 172, in .ctor
Void .ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, MapData[,], System.String, Single)
File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\World\WorldManager.cs", line 556, in SaveThreadRoutine
Boolean SaveThreadRoutine(System.String)
Exception of type 'System.OutOfMemoryException' was thrown.
Close? @mklingen
No, this remains the top bug (still hundreds of users are having this bug). There are several copies of this though, so we should merge them all.
Yikes. I'll make it an A bug.
I'll try and merge them now. Hopefully they're under searchable titles.
Ignore 546 and 562. They were incorrectly linked. References in comments were deleted, but I guess Issues might not recognize that.
https://steamcommunity.com/app/252390/discussions/1/1483232961038831123/
https://steamcommunity.com/app/252390/discussions/1/1483232961039833527/
Crash occurred while loading a save. Loading in general has been causing game freezes.
201805142025491218_Crashlog.txt
5fee6751
Oh, your system is running out of memory due to us implementing the triangle cache for designations. Clearly we should limit the size of that cache to some reasonable number (though you won't be able to see all of the designations).
Regressing. We still getting these crash logs?