Reply #1 Top

One spot that the memory leak seems to be hiding is in the unit design. I loaded from my auto save after that crash where ram usage had hit 1.2Gb. The freshly loaded auto save was 667MB in size. I then created and deleted a dozen or more unit types. Memory climbed up to about 850MB before I got bored.

Reply #2 Top

I just had a game that lasted for 280 rounds before crashing. The debug is too large for pastebin. Same as before gets to about 1.2Gb and the game dies.

 

Debug Message:  - Ending Turn 280 -
Debug Message:  Current Memory Usage: 1292520 KB
Debug Message:  Cities in World: 64
Debug Message:  Units in World: 1490
Debug Message:  GarabageCollection - Begin
Debug Message:  GarbageCollection - Complete
DebugMessage:  Updating ZOC.
Debug Message:  WARNING: No cutscene of internal name  found, using subpack type name
Debug Message:  WARNING: No cutscene of internal name  found, using subpack type name
DebugMessage:  About to auto save.  Memory: 1323630592 bytes
DebugMessage:  Deleting save game.
DebugMessage:  SAVE GAME: Saving XML Data (start)   Memory: 1328893952 bytes
DebugMessage:  SAVE GAME: Saving XML Data (end)  Memory: 1337294848 bytes
DebugMessage:  SAVE GAME: Saving Quick Data   Memory: 1337294848 bytes
DebugMessage:  SAVE GAME: Saving Quick Data - Complete  Memory: 1339400192 bytes
DebugMessage:  SAVE GAME: Saving World    Memory: 1339400192 bytes
DebugMessage:  Error allocating memory: 23068672 bytes.

Reply #4 Top

Got tired of all the crashing and switched to playing Civ V for a bit, found that it was crashing at 1.2GB of RAM allocation too. So I just reinstalled the MS Visual C++ redistributable 2010 from the Microsoft web site. Civ V game went to 1.5 GB before I fell asleep. Will try to see how Elemental will do. Note I reinstalled the entire game from Impulse for each release. so it was a full install for every version. 1.11, 1.19a and 1.19b. There was some gibberish about .NET apps crashing at 1.2GB and I was guessing a bad version of the redistributable.

Sigh, nope does not fix it for Elemental. Still get a OOM error. X(


http://pastebin.com/AEV4h8tq