Memory Allocation CTD

wow beaner. I think you have been playing too much CIV or something. I think you need to take a break from the forums
 
wow beaner. I think you have been playing too much CIV or something. I think you need to take a break from the forums

Yeah i agree with you i feel so tired and sleepy over 2 weeks staying up till 6:00 AM and getting up at 7:40 AM and i have to be at my office by 9:15 Am so you see i feel like crap and i am a little irritated and i do :goodjob: feel very aggressive right Now so i better go get my fix and play some more civ4 TR Mod
 
Guys would you PLEASE keep it civil. No need to get medieval on anyone. We're trying our best to be friendly to everyone (mostly successfully :)) and would appreciate everyone respect each other too. As long as there's no outright trolling going around (been there, saw that), no need to get tense. Everyone is entitled to their opinions.
 
MAF maybe link to the 2 GB max of the 32-bit OP just as Brad found out with Galciv2. No matter how much ram or virtual memory you have 2gb per program is the limit before crashing. I've notice in the past I got MTF when civ4 reaches this 2gb limit. (Process Explorer is better than Windows Task Manger to show how much memory given to one program.) With Vista (which still has the 2gb limit while running in 32-bit mode) this limit is reached even faster. BTS as well as Galciv2 seems to have made some improvements in allocating memory to prevent reaching this limit.
 
So would someone please explain to me how to fix this!?!
do i just need to get beyond the sword, or is there a patch i can use? and if so where can i find it?
i am running 32 bit vista, but i only have 2gb of RAM. would upgrading to 64 help?
 
So would someone please explain to me how to fix this!?!
do i just need to get beyond the sword, or is there a patch i can use? and if so where can i find it?
i am running 32 bit vista, but i only have 2gb of RAM. would upgrading to 64 help?

Yes it would help so go buy 64 Windows vista and hurry this great Mod is waiting for you!
 
so getting beyond the sword wont help my play total realism in warlords? because after playing this mod i CANNOT play regular civ.
 
I'm running into MAF now too. Thankfully, I predicted this. I've been keeping 20 save files, and just saving in the oldest one each time, so when it happend, I just reload from earlier and continue on. Happened three times so far, and every time I've been able to continue past that by reloading and just hoping.

I just hope I can keep going like this. At about turn 400, and jsut entered medieval era.
 
I just wanted to share my experience civ fans, cause I really hated the same error:mad: . My suggestion will not be based on a technical explanation (Im not a computer/software guy), but I hope you may benefit from it. I really love that great game and Total realism mod, but I could not play because of that MAF error. I tried many things, and found a practical method to "bypass" the error. Firstly I have changed the autosave frequency to "1" from Civ4Config file of which shortcut located under Warlords directory: you have to find there
; Specify the number of turns between autoSaves. 0 means no autosave.
AutoSaveInterval = 4
lines and change 4 to 1. (I do not recommend to adjust 0 for disabling the autosave function, your screen will have a tendency to freeze, believe me, I tried that option).
With that adjustment your Civ4 will autosave each turn and also you have more frequent chance to see "Memory allocation error" screen. But here is the trick: after each turn, you have to exit the game, and restart again, load the latest autosave, play and end the turn. You wont have an error. Later exit the game again, and repeat the same procedure...If you forget exiting the game "in the heat battle", you may have MAF error. But dont worry, you have the latest autosave, but before using it, dont forget to delete the faulty autosave of which size is about 2-3 kb, because software will try to rewrite on it and will generate an another error.

With this method I have reached to modern age on a Huge map with 20 civs in Total realism mod, my autosaves exceed 2 MB. My OS is 32 bit XP, RAM 2 GB, and video card is 256 MB. I dont wanna say that method will work on every machine, and I don know how that "phenomenon" could be explained, but it works. Maybe bad coding of this great game is trying to hold data of more than one turns on RAM, Im not sure. I'm leaving the explanation to computer guys.

I would really want to hear good news about that method is also working in other machines. Enjoy the game funs. :goodjob:
 
I just wanted to share my experience civ fans, cause I really hated the same error:mad: . My suggestion will not be based on a technical explanation (Im not a computer/software guy), but I hope you may benefit from it. I really love that great game and Total realism mod, but I could not play because of MAF error. I tried many things, and found a practical method to "bypass" the error. Firstly I have changed the autosave frequency to "1" from Civ4Config file of which shortcut located under Warlords directory: you have to find there
; Specify the number of turns between autoSaves. 0 means no autosave.
AutoSaveInterval = 4
lines and change 4 to 1. (I do not recommend to adjust 0 for disabling the autosave function, your screen will have a tendency to freeze, believe me, I tried that option).
With that adjustment your Civ4 will autosave each turn and also you have more frequent chance to see "Memory allocation error" screen. But here is the trick: after each turn, you have to exit the game, and restart again, load the latest autosave, play and end the turn. You wont have an error. Later exit the game again, and repeat the same procedure...If you forget exiting the game "in the heat battle", you may have MAF error. But dont worry, you have the latest autosave, but before using it, dont forget to delete the faulty autosave of which size is about 2-3 kb, because software will try to rewrite on it and will generate an another error.

With this method I have reached to modern age on a Huge map with 20 civs in Total realism mod, my autosaves exceed 2 MB. My OS is 32 bit XP, RAM 2 GB, and video card is 256 MB. I dont wanna say that method will work on every machine, and I don know how that "phenomenon" could be explained, but it works. Maybe bad coding of this great game is trying to hold data of more than one turns on RAM, Im not sure. I'm leaving the explanation to computer guys.

I would really want to hear good news about that method is also working in other machines. Enjoy the game funs. :goodjob:
 
isn't exiting the game and reloading the last autosave pretty much the same thing as getting a MAF in the first place?
 
isn't exiting the game and reloading the last autosave pretty much the same thing as getting a MAF in the first place?

Not exactly. With my machine, exiting and reloading the game take 2-3 mins. For 4 turns (default Firaxis autosave frequency) sum will be 8-12 mins. If you lose 4 turns due to MAF error, you will lose more times, especially if you're in war. More importantly, I have never played the same turn and got all the pleasure from the game.
 
Get a 64-bit Vista or
There are threads in cfc that say how to fix the game. They have links to a program and instruction what u need to change with exe.

I've just upgraded from 32bit XP to 64bit Vista Ultimate and I'm getting a MAF when I try to save on the FIRST TURN. Oddly enough when I applied the fixes (the /3GB switch and the binary edit) when running XP, even though I only had 2GB of RAM, the MAFs went away (on XP). I'm amazed that it's dying on the first turn under Vista 64 (and really quite sad).

Map size is 42 by 26 for the record.
 
I've just upgraded from 32bit XP to 64bit Vista Ultimate and I'm getting a MAF when I try to save on the FIRST TURN. Oddly enough when I applied the fixes (the /3GB switch and the binary edit) when running XP, even though I only had 2GB of RAM, the MAFs went away (on XP). I'm amazed that it's dying on the first turn under Vista 64 (and really quite sad).

Map size is 42 by 26 for the record.

MAF on the first turn is a sign of something going VERY wrong. The game just isn't supposed to function this way.
 
I have WinXP 64-bit, I'm also getting the errors, but mostly only on maps bigger than 'large' (I believe, it could be the next size down). I tried generating a map, using a custom map script-the name of which I can't remember at the moment-on the largest size possible, MAF error... So, if you're getting an error on the first turn you may want to size down the map you're using... Currently the game is going incredibly slow for me. I think I'm on turn 770-something or another, modern era, entire world seen, all of the three major continents colonized... etc. Loading takes way too long for what data it needs to load and once or twice it's frozen on 'waiting for other civilizations'. All in all, I've decided to take a break for a bit (playing RTS games now).
One way to reduce many of these problems would be to try and program as much in C++ as possible. Python just runs way too slow... I'd be happy to help with this... if I knew how to program, sadly I'm only an ideas guy right now (though I'm taking a college course in C++ now.)
Bottom line, on my computer:
AMD Athlon 4000+ AM2, 4GB RAM, nVidia 8800GTS, etc
I still get MAF errors, and this is on WinXP 64-bit (I'm going to wait to upgrade to Vista till it's an ACTUAL upgrade, rather than a downgrade) So the problem won't go away by uping your hardware. When the game is ported to BTS it should help, but there is still the Python issue...
 
I tend to get MAF errors in a lot of games as well, but they aren't frequent. I play hundreds upon hundreds of turns in, I don't know the exact amount but today I was playing a game and got to 1780 ad, I have an assload of cities, I am using the PerfectWorld.py script, flavored units, improved graphics (Chuggi's mod), and I added 30+ new leaders, so I know I am asking for it. But anyway I started getting the MAF around 1780 ad. I am able to restart the game and play for a good amount of time before getting another one, so I am quite aware that its just the memory limit, 2gb or whatever it is that is occuring here, but I was wondering if there are simple ways to limit the MAF errors from occuring?

Would changing the units to individual units rather than three help at all? (for instance, rathe than three musketmen there is only one musketman)

Does playing in "windows mode" effect MAF either way?

For my mod I have FPK'ed all of the art files, does this effect it either way as well?

And does the file structure or structure in general of my XML have anything to do with this? Does it matter if I have certain things in the "Modules" folder for the mod?

Sorry for all of the questions, but I am trying to figure out how to minimize this for those of us who don't want to go out and rehaul our computer. Thanks in advance for any help you can give me.

Awesome mod by the way, TR that is. And I have no idea what the Visa Mod is.
 
Back
Top Bottom