Frequent E_OUTOFMEMORY/Out of memory crashes [1.0.2.0]

Moderator: MOD_DW2

Post Reply
vaiperu
Posts: 27
Joined: Mon Mar 14, 2022 8:27 am

Frequent E_OUTOFMEMORY/Out of memory crashes [1.0.2.0]

Post 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 ---
Attachments
DxDiag.txt
(101.67 KiB) Downloaded 3 times
Last edited by vaiperu on Thu Mar 17, 2022 1:08 pm, edited 1 time in total.
vaiperu
Posts: 27
Joined: Mon Mar 14, 2022 8:27 am

Re: Crash when selecting a tech in tech tree

Post 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 5 times
vaiperu
Posts: 27
Joined: Mon Mar 14, 2022 8:27 am

Re: Crash when selecting a tech in tech tree

Post by vaiperu »

Another crash on the galaxy map
DW2_CrashDump 17-03-2022 02-03-09.txt
(2.77 KiB) Downloaded 2 times
SessionLog.txt
(39.4 KiB) Downloaded 2 times
vaiperu
Posts: 27
Joined: Mon Mar 14, 2022 8:27 am

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

Post by vaiperu »

New Crash:
SessionLog.txt
(39.41 KiB) Downloaded 1 time
DW2_CrashDump 17-03-2022 13-56-01.txt
(2.77 KiB) Downloaded 4 times
brucethemoose
Posts: 46
Joined: Fri Feb 18, 2022 6:14 pm

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

Post by brucethemoose »

There are reports of a graphics memory leak. Maybe keep an eye on VRAM if you try to launch this save again.
vaiperu
Posts: 27
Joined: Mon Mar 14, 2022 8:27 am

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

Post by vaiperu »

Image

Looks like it. Almost at the 10 GB Vram capacity of my 3080 after playing about 1h
vaiperu
Posts: 27
Joined: Mon Mar 14, 2022 8:27 am

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

Post by vaiperu »

30 minutes later.

Image
vaiperu
Posts: 27
Joined: Mon Mar 14, 2022 8:27 am

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

Post by vaiperu »

And the Crash. Might be Ram Memory leak
Image
Post Reply

Return to “Distant Worlds 2: Tech Support”