Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How much RAM does DF need?  (Read 1078 times)

Batgirl1

  • Bay Watcher
    • View Profile
How much RAM does DF need?
« on: June 07, 2010, 04:45:47 pm »

My little laptop isn't the newest computer on the block, but it isn't exactly the ENIAC either.  Still, I can't help but notice that the newest versions of DF positively *drag*, and sometimes choke the computer completely so that nothing runs and I have to reboot.  Is this the result of bugs, or is the game just *that big* now? 

For the record, System Information says I have 384 MB of RAM (please refrain from laughing). 
« Last Edit: June 07, 2010, 04:47:32 pm by Batgirl1 »
Logged

Need_More_War!

  • Bay Watcher
    • View Profile
Re: How much RAM does DF need?
« Reply #1 on: June 07, 2010, 04:54:45 pm »

My laptop top runs flawlessly with 2gb, 1gb should be good, anything under will be to slow, Don't worry this computer im using now is a 516mb ram, Won't run DF.
Logged

Fourdots

  • Bay Watcher
  • ....
    • View Profile
Re: How much RAM does DF need?
« Reply #2 on: June 07, 2010, 05:12:26 pm »

Currently, my fortress in 0.31.03 is using about 300MB, give or take a bit, with a 2x2 map, 20 dwarfs, and at least 60 cattle. Personally, I would call 500MB a minimum to run it, so that there's space left over for the operating system and whatever else you want to run. Admittedly, I am using linux and wine, so you windows people may need more (or less).

384MB is definitely not enough. You're probably swapping extensively to run it (using the hard drive to store memory, which is extremely slow and in general something to be avoided), so some slowness might be partially from that. If at all possible, you should look into upgrading your ram, or getting a new computer - netbooks are fairly cheap, and generally come with at least a gig of ram, as well as a processor which can manage DF (~40FPS in the fortress I mentioned earlier, which I am running on a 1.6GHz netbook; FPS appear to decrease linearly with the addition of each dwarf, at least up to 40 dwarfs, though there are probably other factors affecting it). If upgrading isn't an option, my sincerest condolences go out to you.
Logged

Eidako

  • Bay Watcher
  • Snow White cancels Sleep: Attending Party
    • View Profile
Re: How much RAM does DF need?
« Reply #3 on: June 07, 2010, 05:18:24 pm »

My 630MHz/1GB RAM netbook ran 40d at a very playable framerate. On the other hand, my current 2010 fort has issues on my 2.2GHz quad-core, 6GB desktop. It depends largely on how complex the region you're playing in is. If you play a 2x2 region, set the population cap to a few dozen, kill cats on sight, don't dig into the underground caverns, and don't try to drain the ocean, it might be playable.
Logged

madrain

  • Bay Watcher
    • View Profile
Re: How much RAM does DF need?
« Reply #4 on: June 07, 2010, 05:37:10 pm »

I'd look up nanofort, set a low pop cap with no children, turn off temperature and weather...
Logged

FuzzyDoom

  • Bay Watcher
    • View Profile
Re: How much RAM does DF need?
« Reply #5 on: June 07, 2010, 08:54:37 pm »

Don't feel bad. I play this game and my computer is worse than yours (look at sig). I get a blazing 30 FPS on Embark, and 20 with 14 dwarves and a couple of cats and dogs. I play with the settings on 2D but with nothing turned off.
Logged
Also bear in mind that dwarves have their heads at a perfect height for a good face-kicking.
That's the great thing about this forum. We can derail any discussion into any other topic.

rodya_mirov

  • Bay Watcher
    • View Profile
Re: How much RAM does DF need?
« Reply #6 on: June 07, 2010, 09:57:27 pm »

384 megs of ram is ... really low.

The RAM requirement for DF is between 500 megs and 1 gig.  I've never seen it use more than 700 megs but I have seen it that high.

The bottleneck for most people is the processor though; it needs high clockspeed but can only use one core.  So if you've got the right kind of old laptop (P4 :D) then you'll be set on that.
Logged

Kohmelo

  • Bay Watcher
    • View Profile
Re: How much RAM does DF need?
« Reply #7 on: June 08, 2010, 04:26:01 am »

About the choking: When it does it does not mean that your computer had crashed as I have noticed. DF Freezed couple of day ago and computer did not respond and I got out to smoke. When I came back DF was running smoothly... Nowadays I just wait for couple of minutes when it freezes and it usually start to work.
Logged

Urist McPenguin

  • Bay Watcher
    • View Profile
Re: How much RAM does DF need?
« Reply #8 on: June 08, 2010, 02:52:00 pm »

The 3x4 fort I'm running right now (had to be that big for what I wanted, a volcano and running water on the same map) was doing between 140-180 fps on embark, and held steady at the 120 mark until I hit 72 dwarves, where the first slowdown occurred. Now I'm at 90 dwarves with no more then a dozen idle at once, cavern breached, brook channelled to keep my well full, and a hell of a lot of stone. I'm running at an average of 70 fps, with DF using 700 megs of ram.

I'm running DF 31.03, 1280x640 and using the Phoebus 1.7.3 graphics pack on a laptop with an Intel P8400 (2.26ghz), 4gb of 800mhz ddr3 ram, and Windows 7 x64. I think the RAM speed makes a pretty big difference, my desktop with a faster processor (win xp, single core AMD 64 4000) but only 400mhz ddr2 ram doesn't run DF as quickly.
Logged

Batgirl1

  • Bay Watcher
    • View Profile
Re: How much RAM does DF need?
« Reply #9 on: June 09, 2010, 07:26:20 pm »

Aha! Thanks, guys. :)

Luckily, I'm looking into getting a new desktop fairly soon, and it's good to know that the problems aren't intrinsic to the game and will thus go away. (I'd been reading about various bugs and crashes, and was worried that there might be some kind of memory leak/infinite loop/I haven't a clue.)  I admit I'm surprised at the 500MB minimum; I think I was under the assumption that any game that didn't have intense 3D graphics, etc., etc., could probably run on a Tandy.  But I guess it's not the graphics, is it?  Toady gets into some pretty minute calculations, doesn't he?  Is that what drives the RAM usage up so high, or am I wrong and ASCII art eats more than I thought? =/
Logged

Eidako

  • Bay Watcher
  • Snow White cancels Sleep: Attending Party
    • View Profile
Re: How much RAM does DF need?
« Reply #10 on: June 09, 2010, 07:50:26 pm »

For the most part it's pathfinding; hundreds of "How do I get over there from here?" calculations every second, trying to figure out how to navigate large, intricate three-dimensional mazes that are constantly changing. Liquid flows are also a difficult problem.

The slow parts are the ones which take place in abstract mathematical space. Actually displaying it all is straight-forward and minor by comparison.
Logged

Skorpion

  • Bay Watcher
    • View Profile
Re: How much RAM does DF need?
« Reply #11 on: June 09, 2010, 11:53:26 pm »

How much have you got? I have 2 gigs, and it'll eat the lot plus an entire processor core.
Logged
The *large serrated steel disk* strikes the Raven in the head, tearing apart the muscle, shattering the skull, and tearing apart the brain!
A tendon in the skull has been torn!
The Raven has been knocked unconcious!

Elves do it in trees. Humans do it in wooden structures. Dwarves? Dwarves do it underground. With magma.

Grendus

  • Bay Watcher
    • View Profile
Re: How much RAM does DF need?
« Reply #12 on: June 10, 2010, 09:25:25 am »

It's a common misconception that DF isn't multithreaded. They split the graphics into a separate thread in 2010. It's not much, but it does help, which is a lifesaver with all the stuff Toady added in 2010.
Logged
A quick guide to surviving your first few days in CataclysmDDA:
http://www.bay12forums.com/smf/index.php?topic=121194.msg4796325;topicseen#msg4796325

dakenho

  • Bay Watcher
    • View Profile
Re: How much RAM does DF need?
« Reply #13 on: June 10, 2010, 09:28:12 am »

I have seen df use over 1gb of memory, it uses as much as it will need and if you ever get to 200 dwarfs/pets, it will use as much as it needs to keep track of that all
Logged
From the description of the event, I think that your copy of Dwarf Fortress was on drugs when this happened. That's surely the only logical explanation for a human werewolf with deadly farts dying from it's own excrement after slaughtering some goblins comrades.