1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

How many have experienced "memory leak" problems?

Discussion in 'Civ4 - Bug Reports' started by Don Uittone, Nov 30, 2005.


Have you experienced "memory leak" problems?

  1. Yes, the game is unplayable now

    29 vote(s)
  2. I suffer from them time to time, but I can play the game

    33 vote(s)
  3. I had problems, but the patch fixed them

    2 vote(s)
  4. I had problems, but I manually fixed them

    2 vote(s)
  5. No, I have not experienced any significant problems

    16 vote(s)
  6. What the hell is a memory leak? I don't have time for this, I have to go kick Isabella's ass!

    2 vote(s)
  1. Flak

    Flak vBülletin Förum

    May 10, 2001
    Manchester, England
    Well, I have run a few more tests. Some disturbing results. What I did:

    1. Started pumping out units
    2. Put all workers on automatic (you controlled of those manually?!?!).
    3. Went through a couple of turns.

    I monitored my memory the entire time. The CivIV.exe never went over 270 Mb. My 'Gauranteed Memory' made it all the way to 1.1 Gb, but never spiked, even during certain slowdowns I will mention now:

    1. Going into smaller less developed city screens was slow, but definitely faster than going into any of the bigger more established. Once I went into one city, taking well over a minute for the screen to come up, no subsequent screen took longer that 45 seconds.

    2. Ending turns took 4 minutes! For me, this is astonishing. On my games, this never even took a minutes, and I had a lot more units than you did.

    3. Pumping out units seemed to make no difference. I had some other issues with this sudden abundance of units, but that is a personal preference thing.

    4. That first scroll was always the worst. After that, it really smoothed out. But I did still get some occasional stutters. Again, I've never experienced this on any of my huge map games.

    5. The most disturbing thing of all for me: The game took over 3 minutes to 'unload'! Even though the game screen was completely gone, and I had total control over the PC, the .exe was still chomping up 200+ Mb and the 'Guaranteed Memory' was still over a 1 Gb for atleast a minute. This slowly eased until the CivIV.exe got down to about 50 Mb, and then shutdown completely. The Gaurantee Memory likewise got back down to it's normal 270ish size. During this three minutes, any other programs I opened and minimized reacted slowly and were kind of choppy until the .exe finally had relieved itself. Then everything went back to normal speed and smoothness.

    I've never seen such behavior in any program I've put on this machine, not even CivIV. I sure hope they get this cleaned up. You know I'm really wondering now if they don't have some dedicated code to just cleaning up afterwords, maybe even during the game, that is perhaps a source of some of some of these problems?
  2. phalzyr

    phalzyr Warlord

    Nov 3, 2005
    Illinois, USA
    If Civ is only using 260 some MB what is taking up the other 700+?

    1. Woah... Now I have something for comparisons when people say that, this map took me like 20 seconds to load if that...

    5. The OS will have a long pause whenever it tries to increase swap file size taht is why most people will suggest setting the minimum and high at same around 2GB if you have the HD space for it.

    6. This is because it has to clear out the part it used in the swap file, which was probably more than norm and this takes time is that where the other 700MB came from?

    I have 1GB of ram myself and only saw 800 soemthing total commitment when his map was loaded...Strange how cruel this game can be memory wise...BTW with nothing running, but OS, I have 134MB or so commitement...
  3. Harkonnen

    Harkonnen Prince

    Sep 13, 2005
    Civ4 consumes about 700Mb of memory for itself. 250-260Mb are used by XP, and it's usual value for XP once it's loaded. So this is the reason of 1Gb overall virtual memory (1Gb in RAM + some bytes swapped out).

    I faced sometimes slow unloading. Though, it doesn't always happen.

    Were your other huge maps terra maps as well? Just 'Terra' provides more tiles on 'huge' than any other map type. I.e. map type affects actual number of tiles, even if both are huge.

    Also, 'Terra' provides less ocean squares than 'Continental' or any other map type (except probably Pangea, but Terra is still larger).

    So far I see most memory consumption coming from terrain and improvements. I can "forgive" terrain because rivers, nice river banks and such can actually make every tile unique in its appearance. But I just don't see why improvements need ~100Mb of vertex data.... It looks like every stinking farm (especially with round corners in industrial age) is like an outside view of some Doom3 map.

Share This Page