1.9.5.4 out of memory crash (Full Version)

All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support



Message


warzer -> 1.9.5.4 out of memory crash (6/24/2014 10:27:09 PM)

Just wanted to continue to post these errors as they show up in new versions. Saved game is up to 148MB.
No matter how many abandoned ships i delete, kill, etc the save just grows and grows. Takes about 10m save on a ssd.

Distant Worlds - Crash Dump - 1.9.5.4

4:59:52 PM Tuesday, June 24, 2014


System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
at DistantWorlds.Main.QFJtCnC3y1ByTehacsw(Object , Object , Rectangle )
at DistantWorlds.Main.PrecacheScaledBitmap(Bitmap unscaledBitmap, Int32 width, Int32 height, InterpolationMode interpolation, CompositingQuality compositing, SmoothingMode smoothing, PixelFormat pixelFormat)
at DistantWorlds.Main.PrecacheScaledBitmap(Bitmap unscaledBitmap, Int32 width, Int32 height, InterpolationMode interpolation, CompositingQuality compositing, SmoothingMode smoothing)
at DistantWorlds.Controls.MainView.EA6xXtp2bsb(Habitat , Bitmap )
at DistantWorlds.Controls.MainView.wdyxXwZxCvg(Habitat , Boolean , Bitmap& , Boolean& )
at DistantWorlds.Controls.MainView.sXcxXbrVsHa()
at DistantWorlds.Controls.MainView.DrawMainViewXna()
at DistantWorlds.Main.ProgramLoop()


--- COMPLETE ---




johanwanderer -> RE: 1.9.5.4 out of memory crash (6/28/2014 3:33:10 AM)

I have a similar crash on 1.9.5.4, on Windows 7 x64, 6 GB of RAM, plenty of swap



See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.OutOfMemoryException: Out of memory.
  at System.Drawing.Bitmap.LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format, BitmapData bitmapData)
  at System.Drawing.Bitmap.LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format)
  at DistantWorlds.Types.FastBitmap.LockBitmap()
  at DistantWorlds.Types.FastBitmap..ctor(Bitmap image)
  at DistantWorlds.Types.EmpireTerritory.CalculateEmpireTerritoryGrid(Bitmap& influence, Galaxy galaxy, Rectangle galaxySection, Int32 sizeX, Int32 sizeY, Empire viewingEmpire, Boolean godMode)
  at DistantWorlds.Controls.GalaxyMap.MyV73LPb7Bj2V2yi6nhl(Object , Rectangle , Int32 , Int32 , Object , Boolean )
  at DistantWorlds.Controls.GalaxyMap.VS3xptrHaOv()
  at DistantWorlds.Controls.GalaxyMap.oqJxpCsiTna()
  at DistantWorlds.Controls.GalaxyMap.SetPosition(Double x, Double y)
  at DistantWorlds.Main.USJJmi0PZT()
  at DistantWorlds.Main.wV7DxPcp73(Object , EventArgs )
  at System.EventHandler.Invoke(Object sender, EventArgs e)
  at DistantWorlds.Controls.ListViewBase._Grid_SelectionChanged(Object sender, EventArgs e)
  at System.Windows.Forms.DataGridView.OnSelectionChanged(EventArgs e)
  at System.Windows.Forms.DataGridView.FlushSelectionChanged()
  at System.Windows.Forms.DataGridView.set_NoSelectionChangeCount(Int32 value)
  at System.Windows.Forms.DataGridView.OnCellMouseDown(HitTestInfo hti, Boolean isShiftDown, Boolean isControlDown)
  at System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
  at System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
  at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.DataGridView.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
   Assembly Version: 4.0.0.0
   Win32 Version: 
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
_
   Assembly Version: 0.0.0.0
   Win32 Version: 
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
DistantWorlds
   Assembly Version: 1.9.5.4
   Win32 Version: 
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System
   Assembly Version: 4.0.0.0
   Win32 Version: 
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Windows.Forms
   Assembly Version: 4.0.0.0
   Win32 Version: 
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
DistantWorlds.Controls
   Assembly Version: 1.9.5.4
   Win32 Version: 
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
DistantWorlds.Types
   Assembly Version: 1.9.5.4
   Win32 Version: 
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Microsoft.Xna.Framework
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30901.0 built by: xnabldr
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.dll
----------------------------------------
Microsoft.DirectX.DirectSound
   Assembly Version: 1.0.2902.0
   Win32 Version: 5.04.00.2904
   CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectSound/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectSound.dll
----------------------------------------
Microsoft.Xna.Framework.Graphics
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30901.0 built by: xnabldr
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework.Graphics/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.Graphics.dll
----------------------------------------
AxInterop.WMPLib
   Assembly Version: 1.0.0.0
   Win32 Version: 1.0.0.0
   CodeBase: file:///M:/games/SteamLibrary/steamapps/common/Distant%20Worlds%20Universe/AxInterop.WMPLib.DLL
----------------------------------------
Interop.WMPLib
   Assembly Version: 1.0.0.0
   Win32 Version: 1.0.0.0
   CodeBase: file:///M:/games/SteamLibrary/steamapps/common/Distant%20Worlds%20Universe/Interop.WMPLib.DLL
----------------------------------------
System.Deployment
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Core
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
DW_Steam
   Assembly Version: 1.0.5257.18237
   Win32 Version: 
   CodeBase: file:///M:/games/SteamLibrary/steamapps/common/Distant%20Worlds%20Universe/DW_Steam.DLL
----------------------------------------
Microsoft.VisualBasic
   Assembly Version: 10.0.0.0
   Win32 Version: 11.0.50938.18408 built by: FX451RTMGREL
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Management
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
PresentationCore
   Assembly Version: 4.0.0.0
   Win32 Version: 
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
Microsoft.DirectX
   Assembly Version: 1.0.2902.0
   Win32 Version: 5.04.00.2904
   CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
System.Runtime.Serialization
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
Ionic.Zip
   Assembly Version: 1.9.1.5
   Win32 Version: 1.9.1.5
   CodeBase: file:///M:/games/SteamLibrary/steamapps/common/Distant%20Worlds%20Universe/Ionic.Zip.DLL
----------------------------------------
System.Xml
   Assembly Version: 4.0.0.0
   Win32 Version: 
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SMDiagnostics
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.ServiceModel.Internals
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
System.Configuration
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
   <system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.






warzer -> RE: 1.9.5.4 out of memory crash (6/28/2014 11:28:47 PM)

My new one for today. I do not think i will be able to finish yet another game. This happened after less then 20m of loading the save game. Which is now 171MB

---------------------------
Error
---------------------------
An error has occurred. Distant Worlds will now exit.

Details of the error are below:

Error Code: GxEmP

System.OutOfMemoryException: Out of memory.

at System.Drawing.Graphics.CheckErrorStatus(Int32 status)

at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)

at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)

at DistantWorlds.Main.yuhadmkCFMUhCxOPAdL(Object , Object , Rectangle )

at DistantWorlds.Main.PrecacheScaledBitmap(Bitmap unscaledBitmap, Int32 width, Int32 height, InterpolationMode interpolation, CompositingQuality compositing, SmoothingMode smoothing, PixelFormat pixelFormat)

at DistantWorlds.Main.PrecacheScaledBitmap(Bitmap unscaledBitmap, Int32 width, Int32 height, InterpolationMode interpolation, CompositingQuality compositing, SmoothingMode smoothing)

at DistantWorlds.Controls.MainView.A9fNFC0ZtDj(Habitat , Bitmap )

at DistantWorlds.Controls.MainView.FqhNFmHVZun(Habitat , Boolean , Bitmap& , Boolean& )

at DistantWorlds.Controls.MainView.HsmNFE8Ion9()

at DistantWorlds.Controls.MainView.DrawMainViewXna()

at DistantWorlds.Main.ProgramLoop()
---------------------------
OK
---------------------------




johanwanderer -> RE: 1.9.5.4 out of memory crash (7/1/2014 6:46:26 AM)

Just an update:

I noticed that these crashes only happen on the Steam version. When I run the standalone version, everything works fine. Let me know if you would like me to upload a save game.

In either case, the process listed in Task Manager is "Distant Worlds.exe *32", which seems to be the 32-bit executable. How can I launch the 64-bit version?

Thank you.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.5625