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

Use more than 2 GB Adress Space with Civ 4

Discussion in 'Civ4 - Technical Support' started by chrissicom, Jul 4, 2007.

  1. chrissicom

    chrissicom Chieftain

    Apr 27, 2002
    I have a problem with Civ 4 crashing on very large maps due to Civ 4 trying to address more than 2 GB of virtual address space. I have 4 GB Ram and 6 GB Paging File so there is plenty enough capacity available.

    For the game Supreme Commander it was possible to set a large address aware bit in the header of the game .exe to make it use up to 3 GB Ram with PAE on XP and on Vista 64-bit (which I have) anyway.
    My question is if anyone knows of a possibility to set this bit in the Civ4 game .exe to make it use more Ram and avoid crashes :)

    Thanks for any advice in advance!
  2. Gyathaar

    Gyathaar Warlock Retired Moderator GOTM Staff

    Nov 19, 2003
    Trondheim, Norway
    it is possible.. see this thread for a program that can set this flag:

    Microsoft also has a program that can set this flag on existing programs, but I dont remember what it was called.

    (Since you have 64 bit OS you just need to set the flag)

    There is however another issue with saving files that will cause memory allocation errors (where windows will refuse to allocate more than about 512MB to a single datastructure.. this limit will be broken by civ4 vanilla and warlords when loading and saving really large games). I dont know if this issue also happens on 64 bit vista or not.

    BtS will come with this flag already set by default btw, and the memory allocation error on saving should be gone as well.

Share This Page