Game crashes with ProcGx and GxEmP errors (Full Version)

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



Message


blontzo -> Game crashes with ProcGx and GxEmP errors (7/28/2013 8:21:09 AM)

Hi guys,

Since I installed Shadows, I frequently encounter random crashes throughout the game for which I could not find any solution in the forum or google (error message standing below, it's the same as in the crash dump file). I already tried to reinstall Shadows and the latest update to version 1.9.0.8, as well as .NET and XNA, but nothing seems to help.

For my system specs see the attached DxDiag file.

Does anyone else experience this or a similar issue?

Thanks for your help!




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

Details of the error are below:

Error Code: ProcGx

System.OutOfMemoryException: Out of memory.

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

at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData)

at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr)

at DistantWorlds.Types.GraphicsHelper.ScaleImage(Bitmap unscaledBitmap, Int32 width, Int32 height, Single alpha, Boolean lowQuality)

at DistantWorlds.Types.GraphicsHelper.SmoothImage(Bitmap image)

at DistantWorlds.Controls.MainView.QvvlMd1CjA(Bitmap& , Bitmap& , Galaxy , Double )

at DistantWorlds.Main.ResetGalaxyBackdrops()

at DistantWorlds.Main.ResetGalaxyBackdropsBackgroundThread()

at DistantWorlds.Main.Aad0zttZGl()

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




---------------------------
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, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData)

at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr)

at DistantWorlds.Types.GraphicsHelper.ScaleImage(Bitmap unscaledBitmap, Int32 width, Int32 height, Single alpha, Boolean lowQuality)

at DistantWorlds.Types.GraphicsHelper.SmoothImage(Bitmap image)

at DistantWorlds.Controls.MainView.QvvlMd1CjA(Bitmap& , Bitmap& , Galaxy , Double )

at DistantWorlds.Main.ResetGalaxyBackdrops()

at DistantWorlds.Main.ResetGalaxyBackdropsBackgroundThread()

at DistantWorlds.Main.Aad0zttZGl()

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




Erik Rutins -> RE: Game crashes with ProcGx and GxEmP errors (7/29/2013 6:51:11 PM)

Hi Blontzo,

Could you also upload a sample save file from one of your games please? Instructions are pinned to the top of this forum.

As you are running a 32-bit operating system, you don't have access to your full 8GB of system memory. It's possible that if you are running very large and complex games with maximum galaxy size and empires, that you may be able to use up your memory. In any case, we'll see if we can figure anything out from these messages and your save file, once you upload it.

Regards,

- Erik




blontzo -> RE: Game crashes with ProcGx and GxEmP errors (7/30/2013 4:14:40 PM)

Hi Erik,

I uploaded the savegame to your FTP server (file "Blontzo Game crashes with ProcGx and GxEmP errors.rar").

The galaxy is set up with only a 100 stars and 11 empires. Also, I never encountered this issue with Legends or any previous version, even with larger galaxies.

Regards, Blontzo




blontzo -> RE: Game crashes with ProcGx and GxEmP errors (8/21/2013 12:05:28 PM)

Hi,

I guess no reply after 3 weeks means no one else got this problem (or a solution to it)?

Grtz, Blontzo




elliotg -> RE: Game crashes with ProcGx and GxEmP errors (8/22/2013 12:46:05 AM)

Hi blontzo

These Out-Of-Memory crashes will unfortunately happen on 32-bit operating systems if you simply leave DW running for long enough. Though we've done a lot of work to minimize memory usage, we do not have complete control over this. This is a side effect of how memory is managed on Windows and in .Net.

The best way to avoid these crashes is to use a 64-bit version of Windows.

Failing that you can use the /3GB memory switch on 32-bit Windows as described in the links below:
http://support.microsoft.com/kb/833721
http://dwf.blogs.com/beyond_the_paper/2009/04/enabling-3gb-switch-on-windows-vista.html

This will give DW more memory to use and will eliminate these Out Of Memory errors.

Thanks
Elliot




blontzo -> RE: Game crashes with ProcGx and GxEmP errors (8/28/2013 7:12:34 AM)

Hi Elliot!

I tried the 3GB switch and DW works now as a charm! Could play yesterday for about 2 hours without the game crashing.

So I suppose my problem is solved with this.

Thanks a lot!
Blontzo




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.015625