Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: 40:24 unplayable due to crashes  (Read 5070 times)

Shonai_Dweller

  • Bay Watcher
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #15 on: May 04, 2015, 05:51:25 pm »

so it was crashing because of weird edge cases that most people would never see and you were calling it "unplayable"?

...huh
I found it pretty difficult to generate a large world with long history before enabling 4Gb, so I don't think it's all that 'edge case'.
Logged

Revenant342

  • Bay Watcher
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #16 on: May 04, 2015, 06:18:16 pm »

Saving also pushed me up to 2GB, which is why I think saving crashed it.  That's what made it unplayable, crashing every time I saved with a good chance of losing the save. 

Can also confirm that worldgen is a lot faster now.
Logged

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #17 on: May 04, 2015, 07:19:05 pm »

This 4Gb thing really needs to be addressed soon.
Isn't it a simple matter of Toady enabling the Large Address Aware flag as default instead of us having to do it manually? Or are there disadvantages I'm not aware of?

That would increase the available memory from 2GB to closer to 4GB, but I can't remember precisely how much.  The real solution to the problem is to recompile DF in 64-bit mode, which should be simple but probably won't be.  He uses some libraries that may not play well with 64-bit code, for example, or just flat not be available in 64-bit builds.  If that happens he has to find a way to work around it with a new library or by building the code himself.
Logged
Through pain, I find wisdom.

utunnels

  • Bay Watcher
  • Axedwarf
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #18 on: May 04, 2015, 08:26:19 pm »

Maybe you can try a smaller world and smaller map. Shorter history and culling unimportant history figures also help.

Logged
The troglodyte head shakes The Troglodyte around by the head, tearing apart the head's muscle!

Risen Asteshdakas, Ghostly Recruit has risen and is haunting the fortress!

Shonai_Dweller

  • Bay Watcher
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #19 on: May 04, 2015, 08:47:29 pm »

64 bit seems to need a much more complicated update!

We could all play small worlds instead, but 'large' is a basic option from basic worldgen, it's not like we're trying to muck about with advanced worldgen and pushing the limits of the simulation. If the game crashes (sometimes) from selecting a standard option then either the option needs removing or the problem needs addressing (large address aware in the short-term, 64 bit sometime in the far, far future).
Logged

utunnels

  • Bay Watcher
  • Axedwarf
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #20 on: May 04, 2015, 08:57:46 pm »

Can I see your word gen parameters?
I haven't tried generating a large world with more than 500 years history for a long time (always take too long to finish).
Logged
The troglodyte head shakes The Troglodyte around by the head, tearing apart the head's muscle!

Risen Asteshdakas, Ghostly Recruit has risen and is haunting the fortress!

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #21 on: May 05, 2015, 07:29:38 am »

64 bit seems to need a much more complicated update!

We could all play small worlds instead, but 'large' is a basic option from basic worldgen, it's not like we're trying to muck about with advanced worldgen and pushing the limits of the simulation. If the game crashes (sometimes) from selecting a standard option then either the option needs removing or the problem needs addressing (large address aware in the short-term, 64 bit sometime in the far, far future).

I believe that Toady has stated that a 64-bit build was on the cards soon, but that could mean anything of course.  :)

In the mean time, I usually just generate short histories.  That's partly for the speed of world gen, partly for speed during gameplay, and partly to get around risks like this.  Plus, history doesn't have a huge impact on me in fort mode anyway.
Logged
Through pain, I find wisdom.

Eldin00

  • Bay Watcher
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #22 on: May 05, 2015, 04:43:36 pm »

I can't find the post right now, but apparently at some point during the .40.xx bugfixing cycle, Toady tried to do a 64 bit build to see how(if) it would work. If I recall, he ran into problems getting his development toolchain to actually work right in producing a 64 bit build, and abandoned the effort for the short term.

However, while enabling large address awareness by default (on windows, this is unnecessary on Linux or OSX) might buy a couple more years, DF is approaching the point where it will need to go 64 bit just for the larger memory space.
Logged
Re: 40:24 unplayable due to crashes
« Reply #23 on: May 05, 2015, 07:09:08 pm »

 Never had any crashes, what OS do you use?
Logged
Or you could just let the children roam free and natural selection will take care of them.
I'm now picturing an elf wrestler trying to suplex my battlements.

utunnels

  • Bay Watcher
  • Axedwarf
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #24 on: May 05, 2015, 07:40:36 pm »

DF is approaching the point where it will need to go 64 bit just for the larger memory space.
Or begin to optimize memory usage.
Logged
The troglodyte head shakes The Troglodyte around by the head, tearing apart the head's muscle!

Risen Asteshdakas, Ghostly Recruit has risen and is haunting the fortress!

Clatch

  • Bay Watcher
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #25 on: May 06, 2015, 11:50:39 pm »

Okay, so I found and downloaded the patch that lets DF use 4gb of RAM instead of only 2 and the crashing stopped.  Saving also got about 1000% faster :D

What?!?  Where?  How?  Does anyone have a thread link?

Revenant342

  • Bay Watcher
    • View Profile
Re: 40:24 unplayable due to crashes
« Reply #27 on: May 07, 2015, 05:10:54 am »

Logged
Pages: 1 [2]