Crash while saving
-
- Posts: 724
- Joined: Wed May 17, 2000 8:00 am
- Location: Miami, Florida, U.S.A.
Crash while saving
I had another one of my "crash while saving the game" last night and I was so frustrated (it seems to only happen to me) that I was ready to trash the whole thing and uninstall DWU.
These crashes ONLY happen when saving and they've been with me since DWU came out. I've tried to figure out the cause but to no avail. It not memory, its not size. Last night was a 100 star 4x4 map and the game had barely begun. I just manually set my ship designs and some initial orders. I wanted to ssve the setup because I'd be doing some different things for testing and I didn't want to repeat everything. As soon as I click save As and select the filename, it crashed as it often does.
Here's the stack trace. If ANYONE has similar problems (Crash while saving) please let me know and maybe we can determine what our computers have in common.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark)
at System.Threading.Thread.Start(StackCrawlMark& stackMark)
at System.Threading.Thread.Start(Object parameter)
at DistantWorlds.Main.btnGameMenuSaveAs_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at DistantWorlds.Controls.GlassButton.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at DistantWorlds.Controls.GlassButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)
My system is Windows 7 Home Premium
GeForce GTX 970
These crashes ONLY happen when saving and they've been with me since DWU came out. I've tried to figure out the cause but to no avail. It not memory, its not size. Last night was a 100 star 4x4 map and the game had barely begun. I just manually set my ship designs and some initial orders. I wanted to ssve the setup because I'd be doing some different things for testing and I didn't want to repeat everything. As soon as I click save As and select the filename, it crashed as it often does.
Here's the stack trace. If ANYONE has similar problems (Crash while saving) please let me know and maybe we can determine what our computers have in common.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark)
at System.Threading.Thread.Start(StackCrawlMark& stackMark)
at System.Threading.Thread.Start(Object parameter)
at DistantWorlds.Main.btnGameMenuSaveAs_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at DistantWorlds.Controls.GlassButton.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at DistantWorlds.Controls.GlassButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)
My system is Windows 7 Home Premium
GeForce GTX 970
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
RE: Crash while saving
I wish I could help, but I'm not really that computer savvy.
Usually when I'm having some kind of game related computer problem (or any computer problem) I go through the usual browser searches, process of elimination... its amazing how many times I have fixed some problem this way; but it is blind luck and stubbornness (sort of like when you kick something that's broken and it starts to work again - don't recommend you try that one at home though).
Hope you get it fixed though.
Usually when I'm having some kind of game related computer problem (or any computer problem) I go through the usual browser searches, process of elimination... its amazing how many times I have fixed some problem this way; but it is blind luck and stubbornness (sort of like when you kick something that's broken and it starts to work again - don't recommend you try that one at home though).
Hope you get it fixed though.
RE: Crash while saving
Make sure you are running the game as admin:
Open the game installation folder. Locate and select a file named "autorun.exe".
Press the right mouse button and select Properties.
Click on the Compatibility tab.
Tick the option Run this program as an administrator. Click on Apply and Ok
If you have the Steam version, please try also running Steam as administrator.
Open the game installation folder. Locate and select a file named "autorun.exe".
Press the right mouse button and select Properties.
Click on the Compatibility tab.
Tick the option Run this program as an administrator. Click on Apply and Ok
If you have the Steam version, please try also running Steam as administrator.
-
- Posts: 724
- Joined: Wed May 17, 2000 8:00 am
- Location: Miami, Florida, U.S.A.
RE: Crash while saving
ORIGINAL: VPaulus
Make sure you are running the game as admin:
Open the game installation folder. Locate and select a file named "autorun.exe".
Press the right mouse button and select Properties.
Click on the Compatibility tab.
Tick the option Run this program as an administrator. Click on Apply and Ok
If you have the Steam version, please try also running Steam as administrator.
Sadly that didn't help.
Its not a folder permissions issue, otherwise it would crash every time I tried to save it. It only crashes about 90% of the time and only after I've played for 15-30 minutes. If anyone else has experienced issues like this I would love to compare our system stats and try and determine a common causality.
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
RE: Crash while saving
Eh... do you have more than one hard drive?
Has the hard drive you are saving to been given a maximum save file size?
I seem to remember there is a way to limit the size of files... Could be wrong though (might be getting it mixed up with trash can).
Also I presume you have checked the integrity of the hard rive and it working fine with no faulty blocks (or whatever they are called).
Has the hard drive you are saving to been given a maximum save file size?
I seem to remember there is a way to limit the size of files... Could be wrong though (might be getting it mixed up with trash can).
Also I presume you have checked the integrity of the hard rive and it working fine with no faulty blocks (or whatever they are called).
-
- Posts: 724
- Joined: Wed May 17, 2000 8:00 am
- Location: Miami, Florida, U.S.A.
RE: Crash while saving
Yeah, I've checked those things. I have two drives and I've set save locations on both and had the same results.ORIGINAL: Kothyxaan
Eh... do you have more than one hard drive?
Has the hard drive you are saving to been given a maximum save file size?
I seem to remember there is a way to limit the size of files... Could be wrong though (might be getting it mixed up with trash can).
Also I presume you have checked the integrity of the hard rive and it working fine with no faulty blocks (or whatever they are called).
Last night I updated my video driver (with great effort). I will test tonight and see if it makes a difference. Sometimes outdated drivers can cause weird problems that seem unrelated to video.
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
-
- Posts: 286
- Joined: Fri Dec 05, 2014 10:21 am
RE: Crash while saving
I Don't think it's Ram but might as well run Memtest on your Ram too. Just for kicks.
-
- Posts: 7241
- Joined: Thu Jan 17, 2002 10:00 am
- Location: Cottesmore, Rutland
Re: Crash while saving
Resurected this.
Game crashing with out of memory problem as above and with 15G it shouldn't. It's been happening for a while and I'd assuming it something Microsoft has changed or it's the mod as it never used too. I've been attempting to isolate the problem and found that randomly the game doubles in save size taking a long time to save and load. In the pick I've only played about 10min between yesterday and today and as you can see gone from 45K to 90K. At some point if you keep playing and it doesn't crash, save size returns to
half.
It might be something to do with reloading in that if you don't exit the game completely the handles do not release the memory and you end up loading teo copies into memory etc. A guess?
Game crashing with out of memory problem as above and with 15G it shouldn't. It's been happening for a while and I'd assuming it something Microsoft has changed or it's the mod as it never used too. I've been attempting to isolate the problem and found that randomly the game doubles in save size taking a long time to save and load. In the pick I've only played about 10min between yesterday and today and as you can see gone from 45K to 90K. At some point if you keep playing and it doesn't crash, save size returns to
half.
It might be something to do with reloading in that if you don't exit the game completely the handles do not release the memory and you end up loading teo copies into memory etc. A guess?
-
- Posts: 7241
- Joined: Thu Jan 17, 2002 10:00 am
- Location: Cottesmore, Rutland
Re: Crash while saving
Here's the error I keep getting.
- Retreat1970
- Posts: 1125
- Joined: Wed Nov 06, 2013 11:09 am
- Location: Wisconsin
Re: Crash while saving
Something to do with the gravity well generator? Maybe baconmod's maybe the component. Did you change something? Just guessing. I play with Bacon's star grav wells off and I haven't had a crash. I know the star's grav well size is determined by adding the star's microwave radiation + xray radiation + solar radiation and maybe a star somewhere has too big of a number? Like I said just guessing.
-
- Posts: 7241
- Joined: Thu Jan 17, 2002 10:00 am
- Location: Cottesmore, Rutland
Re: Crash while saving
it is the gravity well generator causing the problem. I even had one 3x the size it should be but the norm is just 2x.Retreat1970 wrote: ↑Wed Aug 31, 2022 12:07 pm Something to do with the gravity well generator? Maybe baconmod's maybe the component. Did you change something? Just guessing. I play with Bacon's star grav wells off and I haven't had a crash. I know the star's grav well size is determined by adding the star's microwave radiation + xray radiation + solar radiation and maybe a star somewhere has too big of a number? Like I said just guessing.
I've tried observing the game as to exactly when it does it but short of saving after every move I've not succeeded so had to turn the function off, which is a pity.
-
- Posts: 7241
- Joined: Thu Jan 17, 2002 10:00 am
- Location: Cottesmore, Rutland
Re: Crash while saving
Spoke too early. Still saving at double size. Anybody got any idea why it doesn'r do it everytime.
Re: Crash while saving
I know this is an old thread and nobody might be reading it anymore, but I recently had this same problem and I found what was causing it which might help somebody out there.
I've been playing DWU for ages with no problems, but last week it started to crash when saving games. I soon found what the problem was though, I had changed my anti-virus software from zonealarm to AVG because zonealarm hogs too many system resources, and it was AVG that was causing the problem. I now turn it off when playing the game and I've had no problems since.
Update: AVG was causing problems with other software as well, so I changed to avast but that was as much hassle (uses AVG code I think) so now I use bitdefender.
I've been playing DWU for ages with no problems, but last week it started to crash when saving games. I soon found what the problem was though, I had changed my anti-virus software from zonealarm to AVG because zonealarm hogs too many system resources, and it was AVG that was causing the problem. I now turn it off when playing the game and I've had no problems since.
Update: AVG was causing problems with other software as well, so I changed to avast but that was as much hassle (uses AVG code I think) so now I use bitdefender.