Autosave Crash (Full Version)

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


MartialDoctor -> Autosave Crash (5/24/2012 5:21:24 PM)

DW crashed while autosaving. Here's a picture of the error.


Bebop Cola -> RE: Autosave Crash (5/24/2012 6:53:13 PM)

I get those when I don't manage the memory leak issue. Basically, seems like has a memory leak that dumps the application every couple hours depending on your system. The only way to avoid it is to quite the application cleanly every couple hours so it can release the memory it has accumulated. Then you can start it back up.

Kayoz -> RE: Autosave Crash (5/25/2012 2:19:36 AM)

I'm not convinced that this is a memory leak - I haven't seen the process actually running out of memory (VMMap sysinternals). Two other possibilities are -

  • a problem with the code attempting to erroneously allocate a ridiculously large amount of memory - it's not the first time it's happened, especially if multiple threads are accessing a shared object and the object isn't locking access to a single thread at a time (A and B try to access C - while A is using it, B comes in and messes up the data)
  • memory fragmentation is another possibility

Nothing a user can do about it, however. Elliot has to track it down and fix it.

But imo, DW probably needs a custom memory pool to get around the 2G limit in .Net - but that's just a guess, as I can only guess at how Elliot is handling his memory. There is no real reason why DW should be limited to 2G memory limit imposed by .Net.

A 64-bit version would also be nice, as it's becoming more and more common these days. I have no idea how hard this would be to do with C#. Perhaps food for thought for the next version of DW.

Looks like it would be more trouble than it's worth to recompile for 64-bit at this point. If the next version of DW is going to require a major rewrite, it might be worth considering, however.

solops -> RE: Autosave Crash (5/29/2012 2:16:00 PM)

I get the same crash....1000 stars on a 15x15.

Ruru -> RE: Autosave Crash (2/23/2013 6:22:15 PM)

me to. saving issue. sometimes i get one or two saves...sometimes i dont get a save. it mean all the gameplay is lost. had to restart game very frequently but that doesnt always work :(

so i went on medium map, lot less stars. only 4 empires. still problem exists.

Page: [1]

Valid CSS!

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI