Page 1 of 1

Frequent E_OUTOFMEMORY/Out of memory crashes [1.0.2.0]

Posted: Wed Mar 16, 2022 12:02 am
by vaiperu
Distant Worlds - Crash Dump - Version 1.0.1.9

00:50:58 Wednesday, March 16, 2022


SharpDX.SharpDXException: HRESULT: [0x8007000E], Module: [General], ApiCode: [E_OUTOFMEMORY/Out of memory], Message: Not enough memory resources are available to complete this operation.

at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut)
at Xenko.Graphics.Texture.InitializeFromImpl(DataBox[] dataBoxes)
at Xenko.Graphics.Texture.InitializeFrom(Texture parentTexture, TextureDescription description, TextureViewDescription viewDescription, DataBox[] textureDatas)
at DistantWorlds.Types.DrawingHelper.CreateAndSetRenderTarget(RenderDrawContext drawContext, Int32 width, Int32 height, Texture& backBuffer, Texture& depthBuffer)
at DistantWorlds2.CustomOrbRenderer.RenderSystemBadge(CartoucheRegionList cartoucheRegions, CartoucheRegion cartoucheRegion, GraphicsDevice graphics, GraphicsContext graphicsContext, RenderDrawContext drawContext, CameraComponent camera, GraphicsNode graphicsNode, Empire playerEmpire, Boolean godMode, DateTime time, Single fontSize, Single fontSizeBold, RectangleF screenInflated, Color[] empireColors, Color color, Color uncolonizedColor, SpriteBatch spriteBatch, Single margin, Single largeGap, Single smallGap, Color shadowColor, Color borderColor, Color backColor, StarSystem system, Boolean showResources, Boolean showStrength, StarSystemList spaceportSystems, Single padding, Boolean isColonizedSystem)
at DistantWorlds2.CustomOrbRenderer.DrawSystemCartouches(RenderDrawContext drawContext, GraphicsContext graphicsContext, GraphicsDevice graphics, CameraComponent camera, GraphicsNodeList graphicsNodes, Empire playerEmpire, Boolean godMode, DateTime time)
at DistantWorlds2.CustomOrbRenderer.DrawCorePostSceneInternal(RenderContext context, RenderDrawContext drawContext)
at Xenko.Rendering.Compositing.SceneRendererBase.Draw(RenderDrawContext context)
at Xenko.Rendering.Compositing.SceneRendererCollection.DrawCore(RenderContext context, RenderDrawContext drawContext)
at Xenko.Rendering.Compositing.SceneRendererBase.Draw(RenderDrawContext context)
at Xenko.Rendering.Compositing.SceneCameraRenderer.DrawCore(RenderContext context, RenderDrawContext drawContext)
at Xenko.Rendering.Compositing.SceneRendererBase.Draw(RenderDrawContext context)
at Xenko.Rendering.Compositing.GraphicsCompositor.DrawCore(RenderDrawContext context)
at Xenko.Rendering.RendererBase.Draw(RenderDrawContext context)
at Xenko.Engine.SceneSystem.Draw(GameTime gameTime)
at Xenko.Games.GameSystemCollection.Draw(GameTime gameTime)
at Xenko.Games.GameBase.Draw(GameTime gameTime)
at DistantWorlds2.DWGame.Draw(GameTime gameTime)


--- COMPLETE ---

Re: Crash when selecting a tech in tech tree

Posted: Wed Mar 16, 2022 11:15 pm
by vaiperu
Another crash, this time on galaxy map while scorlling.

Distant Worlds - Crash Dump - Version 1.0.2.0

00:14:14 Thursday, March 17, 2022


SharpDX.SharpDXException: HRESULT: [0x8007000E], Module: [General], ApiCode: [E_OUTOFMEMORY/Out of memory], Message: Not enough memory resources are available to complete this operation.

at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut)
at Xenko.Graphics.Texture.InitializeFromImpl(DataBox[] dataBoxes)
at Xenko.Graphics.Texture.InitializeFrom(Texture parentTexture, TextureDescription description, TextureViewDescription viewDescription, DataBox[] textureDatas)
at DistantWorlds.Types.DrawingHelper.CreateAndSetRenderTarget(RenderDrawContext drawContext, Int32 width, Int32 height, Texture& backBuffer, Texture& depthBuffer)
at DistantWorlds2.CustomOrbRenderer.RenderSystemBadge(CartoucheRegionList cartoucheRegions, CartoucheRegion cartoucheRegion, GraphicsDevice graphics, GraphicsContext graphicsContext, RenderDrawContext drawContext, CameraComponent camera, GraphicsNode graphicsNode, Empire playerEmpire, Boolean godMode, DateTime time, Single fontSize, Single fontSizeBold, RectangleF screenInflated, Color[] empireColors, Color color, Color uncolonizedColor, SpriteBatch spriteBatch, Single margin, Single largeGap, Single smallGap, Color shadowColor, Color borderColor, Color backColor, StarSystem system, Boolean showResources, Boolean showStrength, StarSystemList spaceportSystems, Single padding, Boolean isColonizedSystem)
at DistantWorlds2.CustomOrbRenderer.DrawSystemCartouches(RenderDrawContext drawContext, GraphicsContext graphicsContext, GraphicsDevice graphics, CameraComponent camera, GraphicsNodeList graphicsNodes, Empire playerEmpire, Boolean godMode, DateTime time)
at DistantWorlds2.CustomOrbRenderer.DrawCorePostSceneInternal(RenderContext context, RenderDrawContext drawContext)
at Xenko.Rendering.Compositing.SceneRendererBase.Draw(RenderDrawContext context)
at Xenko.Rendering.Compositing.SceneRendererCollection.DrawCore(RenderContext context, RenderDrawContext drawContext)
at Xenko.Rendering.Compositing.SceneRendererBase.Draw(RenderDrawContext context)
at Xenko.Rendering.Compositing.SceneCameraRenderer.DrawCore(RenderContext context, RenderDrawContext drawContext)
at Xenko.Rendering.Compositing.SceneRendererBase.Draw(RenderDrawContext context)
at Xenko.Rendering.Compositing.GraphicsCompositor.DrawCore(RenderDrawContext context)
at Xenko.Rendering.RendererBase.Draw(RenderDrawContext context)
at Xenko.Engine.SceneSystem.Draw(GameTime gameTime)
at Xenko.Games.GameSystemCollection.Draw(GameTime gameTime)
at Xenko.Games.GameBase.Draw(GameTime gameTime)
at DistantWorlds2.DWGame.Draw(GameTime gameTime)


--- COMPLETE ---
SessionLog.txt
(39.93 KiB) Downloaded 9 times

Re: Crash when selecting a tech in tech tree

Posted: Thu Mar 17, 2022 1:04 am
by vaiperu
Another crash on the galaxy map
DW2_CrashDump 17-03-2022 02-03-09.txt
(2.77 KiB) Downloaded 6 times
SessionLog.txt
(39.4 KiB) Downloaded 8 times

Re: Frequent E_OUTOFMEMORY/Out of memory crashes [1.0.2.0]

Posted: Thu Mar 17, 2022 1:08 pm
by vaiperu
New Crash:
SessionLog.txt
(39.41 KiB) Downloaded 7 times
DW2_CrashDump 17-03-2022 13-56-01.txt
(2.77 KiB) Downloaded 9 times

Re: Frequent E_OUTOFMEMORY/Out of memory crashes [1.0.2.0]

Posted: Thu Mar 17, 2022 6:27 pm
by brucethemoose
There are reports of a graphics memory leak. Maybe keep an eye on VRAM if you try to launch this save again.

Re: Frequent E_OUTOFMEMORY/Out of memory crashes [1.0.2.0]

Posted: Fri Mar 18, 2022 7:49 am
by vaiperu
Image

Looks like it. Almost at the 10 GB Vram capacity of my 3080 after playing about 1h

Re: Frequent E_OUTOFMEMORY/Out of memory crashes [1.0.2.0]

Posted: Fri Mar 18, 2022 8:17 am
by vaiperu
30 minutes later.

Image

Re: Frequent E_OUTOFMEMORY/Out of memory crashes [1.0.2.0]

Posted: Fri Mar 18, 2022 8:42 am
by vaiperu
And the Crash. Might be Ram Memory leak
Image