Keeps Crashing

Out of Memory Errors

http://www.box.net/shared/sliesd21rv

I'm having the same problem as this guy.

 

By on September 7, 2010 12:10:46 PM from Elemental Forums Elemental Forums

"I get one of the two errors, Elemental Has Stopped Working, or Out of Memory error every couple of turns. Also frustrating is the saved game issue. I save the game, get one of the error messages, load a save game and its several moves BEFORE I saved the game. The concept behind the game is excellent but the bugs make it almost unplayable. I put up with them because I otherwise enjoy the game, and want to see what happens next."

 

Here are my error logs:

Debug.err

Elemental1_09-2010-10-04T22-15-46-13

3,485 views 8 replies
Reply #1 Top

Oh & here is a Windows crash report if it will help:

 

  Problem Event Name:    APPCRASH
  Application Name:    Elemental.exe
  Application Version:    1.0.9.0
  Application Timestamp:    4ca51dd2
  Fault Module Name:    MSVCR80.dll
  Fault Module Version:    8.0.50727.4053
  Fault Module Timestamp:    4a594c79
  Exception Code:    c0000005
  Exception Offset:    0001510c
  OS Version:    6.0.6002.2.2.0.768.3
  Locale ID:    1033
  Additional Information 1:    fd00
  Additional Information 2:    ea6f5fe8924aaa756324d57f87834160
  Additional Information 3:    fd00
  Additional Information 4:    ea6f5fe8924aaa756324d57f87834160

Reply #2 Top

There's still a memory leak problem in the program. There's nothing you can do about it, best thing is to set auto-save to every turn so you don't have to redo as much when it crashes.

Reply #3 Top

Quoting cpl_rk, reply 2
There's still a memory leak problem in the program. There's nothing you can do about it, best thing is to set auto-save to every turn so you don't have to redo as much when it crashes.
End of cpl_rk's quote

I don't completely agree with you on that.  I agree there is a memory leak problem, but having auto-save every turn I have my doubts about.  I most often get out of memory errors when saving, auto or manual, and the save always fails.  I'm starting to suspect that saving (and loading) is a significant cause of out of memory errors.

Posted about this in the support forum here.

Reply #4 Top

Quoting Dhraconus, reply 3



Quoting cpl_rk,
reply 2
There's still a memory leak problem in the program. There's nothing you can do about it, best thing is to set auto-save to every turn so you don't have to redo as much when it crashes.


I don't completely agree with you on that.  I agree there is a memory leak problem, but having auto-save every turn I have my doubts about.  I most often get out of memory errors when saving, auto or manual, and the save always fails.  I'm starting to suspect that saving (and loading) is a significant cause of out of memory errors.

Posted about this in the support forum here.
End of Dhraconus's quote

 

I don't know what the exact cause of the problem is. I have a 64 bit 8gb system. I typically play on large maps and do massive city spam. On my system, in the 400 turn range with a 100 city kingdom, I average an out of memory crash every 15 to 20 turns with continous play. Saving every turn means I only have to redo one turn at worst case when the game crashes. Of course, if your system crashes ever turn or every other turn then saving every turn doesn't help much. I don't know what to tell you.

What kind of system do you have & what kind of map size do you play? If you're playing on medium/large map try a small map. I don't know what else to tell you, maybe they'll fix your particular problem with with one of the patches which have been coming out fairly regularly.

Reply #5 Top

I most often get out of memory errors when saving, auto or manual, and the save always fails.
End of quote

Saving can use a decent chunk of memory, so if it's saving every turn it's not unlikely to be the straw that breaks the camel's back.

Reply #6 Top

Quoting kryo, reply 5

I most often get out of memory errors when saving, auto or manual, and the save always fails.


Saving can use a decent chunk of memory, so if it's saving every turn it's not unlikely to be the straw that breaks the camel's back.
End of kryo's quote

 

It doesn't much save the the user from pain if he disables auto save, to save himself from saving-crashes, only to have to redo 5 lost turns because he didn't save.

Reply #7 Top

My system isn't exactly spectacular.  Winx XP (32 bit I assume), AMD athlon 64 X2 dual core processor 4800+ 2.49ghz, 3 gigs of ram, and an Nvidia GeForce 8800 GTS.  I exclusively play large maps but I don't get out of memory errors generally until turn 200+ and then it's around every 10 turns give or take.  Never played past turn 300, and only to turn 300 once (the game I posted saves for) because after about turn 200 it's just mopping up the AI anyway.

It is most likely that saving is the straw that breaks the camel's back as Kryo suggests, but like I said in my post in the support forum it's a correlation I noticed I wanted to mention, for what ever it is worth.

Edit: included processor specs above.

Reply #8 Top

It doesn't much save the the user from pain if he disables auto save, to save himself from saving-crashes, only to have to redo 5 lost turns because he didn't save.
End of quote

No, that wouldn't help at all. As I said, it's only what pushes it over the edge because it's a large, regular allocation request; memory usage will edge slowly upwards either way. It's unlikely that it is a cause in itself.