failed to allocate video memory crash

i have since applied all suggested fixes that i've found in various threads, and i also now play in window mode. Game still crashes every now and then, but it's not as often as before, and the best part is, when playing in a window, a crash is a crash to desktop and not a total pc crash. At least that's something.
 
*SOLUTION FOUND (FOR ME)*

Im including the entire story here, but for those who cant be bothered with meaningless rambling (which I tend to do), the general summary is that after trying all sorts of solutions (all the ones recommended in these forums, as well as others) I inadvertently fixed this problem on MY computer by installing Omega's nVidia drivers. Omega drivers are well-known, but for those unfamiliar with them, they're a third party provider that offers performance-tweaked, quality-improvement drivers for nVidia and ATI cards. People usually install them to improve texture quality for other, more memory-intensive games, but they're also known for stability. I installed them trying to improve Call of Duty 2, but I noticed that they fixed the crashing issues with my Civ Warlords game, even on Huge maps with graphic settings set to maximum. www.omegadrivers.net

Basically, my background story is the same as everyone else's: I would receive a "Failed to allocate video memory. Please try reducing your graphics settings" message about halfway through single-player games on Standard maps or larger (usually in the early modern age on Small or Duel maps). I found this very annoying, but also very interesting, especially b/c the game ran just fine on my much older, much outdated desktop. My laptop (where I would receive the error) has 1GB RAM, a 256MB nVidia Geforce 7300 card, with Intel Duo Core processor(s) at 2GHz each. I had a hard time believing it really was my mediocre laptop's fault when I realized I could finish a full Huge-map game on my 4 year old desktop with half as much RAM and a 64MB Geforce MX440 card (admittedly it would run a little slow, but it NEVER crashed).

I tried so many solutions my head still hurts. I re-installed Windows XP, updated my BIOS, my chipset drivers, upgraded back to Service Pack 2 etc. etc. and re-installed Warlords. It still kept crashing. I enabled the HideOutOfRAMWarning option, and almost had a heart attack when it worked pefectly for a few more turns, then almost had a stroke when it crashed without warning. I tried the Memory Saver option. I tried disabling PAK memory mapping. I lowered my graphics all the way. All delayed but none actually fixed the inevitable crash.

I eventually gave up, hoping (I still do) that Beyond the Sword would correct this issue. Then months later, while looking for a way to improve texture quality for Call of Duty2, I decided to install Omega's Drivers (which Id known about for some time, but never actually tried). I replaced my nVidia drivers with their nVidia forceware 1.6693 version. Call of Duty looked even prettier.

And then one day my friend asked me to fix resources and starting locations for this Earth scenario of his, on Warlords. I opened it, went to worldbuilder, and got to work. It took me about 20 seconds to realize...my game was running smoothly. Like, very smoothly. I panned around, I sporadically clicked on the mini map, I zoomed in and out and in again- it was borderline magical, IT DIDNT CRASH. Determined to prove myself wrong, I upped all the graphic settings to maximum and went to 1680x1050 resolution (highest allowed on my monitor), then opened an old save file (Huge map, 18 civs, hundreds of cities/units all over the place). I actually finished the game, and was so happy I started a thermonuclear war instead of trying and finishing with a high score. IT DID NOT CRASH; it didnt even do that choppy stuff it does when its about to freeze.

Im interested to hear if these drivers fix other people's issues as well. Its not like I made a great discovery or anything (Omega drivers have been around for A WHILE). But at least to ME it makes sense: my old desktop has older drivers, my newer laptop has newer drivers, and I've heard lots of people complain about certain instability issues on newer drivers putting too much load on a computer's video memory.

For those unfamiliar with what to do, here's my recommendation. PLEASE LET US KNOW if Omega drivers work for you too. I wanna know b/c this isnt a "core fix", its just a set of third party drivers, but they might fix the issue for other people as well.

1) Download the driver installation file at www.omegadrivers.net
2) Uninstall your current drivers. Control Panel -> Add/Remove Program for Nvidia Drivers; Im assuming its the same for ATI.
3) Run the downloaded file; itll extract some stuff then run the installation.
4) It should restart, if not do this yourself. Upon reboot, the Found New Hardware menu should pop-up; you're updating Display Adapters. Choose "Install from specific location" -> Dont search. I will choose driver -> Have disk -> (Folder where files were extracted, usually C:\Program Files\Nvidia Omega Drivers for nVidia version, probably similar for ATI) -> Choose the nv4_disp.inf directly inside the 2KXP_INF folder -> (see Step's 5 and 6) install.
5) They're not digitally signed, just ignore these warnings. DONT REPLACE NEWER FILES; if it says theres a newer version of anything, dont replace it. (My computer didnt work the first time i tried, when I overwrote existing files, but when I later selected No to All it worked perfect).
6) If your particular card isnt on the list, you may have to do some research to find what category it falls under. I have a Geforce 7300 GO card, which wasnt listed, but I asked a friend and he told me this is also known as an Nvidia Quadro NVS 110M card, so I chose "Nvidia Quadro NVS" as my card, and it worked.
7) Restart when everything is installed.
8) I still have the "HideOutofRAMWarning" set to 1 in my civilization.ini file. I opened Rhye's and Fall of Civilization on maximum settings and when it finished "loading" it gave me the message, but instead of crashing it kept playing normally. (???) So I disabled the error notification feature and the game works fine. Strange.
 
Thank u for the update fvlatino987:yeah:

After i changed my graphic card my problems playing Civ4 and Civ4Warlord dissapered:dance:

But i wil try this driver if i run into any trubble later.
 
an interesting solution however, I don't know what driver set to install.

I have 7800GS card, which is using the G70 chipset, my card nor the chipset seems to be available in the list when I try to install the omega driver (6693 version)
 
After searching and searching forums for an answer to this problem I finally found a solution that worked for me:

1. On your desktop right-click and go to properties.
2. Go to the settings tab and click advanced.
3. Under the Smartgart tab change your AGP speed to off.
4. Go take over the world.

I have a Dell 3.4 GHz Pentium IV with 2 GB of RAM and a 256 MB Radeon 9800 video card. I couldn't understand why I could get the game to run perfectly on my much older and slower computer with no problems. I had tried going to older drivers, upgrading RAM, and reinstalling the game with no luck. I can hardly believe something this simple worked for me. Hopefully this helps anyone with an ATI card here.
 
Hello,

I am having the same problem like everyone else, with the 1019 error message.

I am playing on Rhyes and Fall of Civ; everything works great until the late stages of the game, with the entire world processing I think might be the problem.

I'm on WinXP Media Center, 128 ATI Radeon X300 SE, 1 gig of ram, 3.2 processor Intel P4.

I have tried lowering the graphics, windowed mode, uninstalling and reinstalling with new drivers. All of failed so far.

I'm going to try the Omega Drivers fix, in the mean time if anyone has some suggestions, thanks!
 
Grrr I am having same problem

Failed to allocate video memory. Please try reducing your graphic settings. File:/Source/main/Civilization4/SDKs/Gamebryo2_0/CoreLibs/NiDX9Renderer/NidX9RenderedTextureData.cpp, Line:170

What can I do???
 
Grrr I am having same problem

Failed to allocate video memory. Please try reducing your graphic settings. File:/Source/main/Civilization4/SDKs/Gamebryo2_0/CoreLibs/NiDX9Renderer/NidX9RenderedTextureData.cpp, Line:170

What can I do???

It seems to only be happening with huge maps. Apparently they will fix the problem in BtS.
 
I don't think my video card might be good enough though. Under Control Panel Display it says adapter is RADEON 7000. I guess I can't play it with my video card then?
 
Got this one as well, and I don't think this is an issue of needing to reduce graphics settings, as the game runs just fine in general, and the machine is powerful enough. It does slow down in later game and then cleans swap wildly after the crash, so my impression of this is that it's a memory leak. Something doesn't get cleaned up properly, memory fills up and we get the issue.

Have had the problem all the way up to 1.74, and it's pretty annoying...
 
I just wanted to report that by setting...

; Don't show a warning when a video memory allocation fails
HideOutOfVRamWarning = 1

; Allows some memory savings *** ALT-TAB WILL NO LONGER FUNCTION ***
MemSaver = 1

...in the .ini and in-game graphic settings to low, I've been able to get BtS working on my old laptop, a 2.66 Pentium 4 machine with 1GB RAM and only a 32MB Radeon 7500C video card.

I left this one alone, at its default setting:

; Don't show minimum specification warnings
HideMinSpecWarning = 0

With these settings I've been able to play to the completion of 2 games (I've only had the time to do those two since I discovered it worked on my laptop) without any in-game crashes or major errors. The intro and victory movies are choppy, but wonder videos play just fine. The only problem I have had during gameplay is that after playing for 15 minutes or so the Military Adviser screen is blank, and therefore useless. (Apparently it can't allocate the video memory to draw the relevant information.) The other adviser screens appear to work just fine and I haven't had any problems with other graphical miscues, artifacts, or anything.

Hope that tidbit is helpful, and if not at least a little interesting. I was quite surprised that it worked myself. Might be something to try at least...
 
I just wanted to report that by setting...

; Don't show a warning when a video memory allocation fails
HideOutOfVRamWarning = 1

; Allows some memory savings *** ALT-TAB WILL NO LONGER FUNCTION ***
MemSaver = 1

...in the .ini and in-game graphic settings to low, I've been able to get BtS working on my old laptop, a 2.66 Pentium 4 machine with 1GB RAM and only a 32MB Radeon 7500C video card.

I left this one alone, at its default setting:

; Don't show minimum specification warnings
HideMinSpecWarning = 0

With these settings I've been able to play to the completion of 2 games (I've only had the time to do those two since I discovered it worked on my laptop) without any in-game crashes or major errors. The intro and victory movies are choppy, but wonder videos play just fine. The only problem I have had during gameplay is that after playing for 15 minutes or so the Military Adviser screen is blank, and therefore useless. (Apparently it can't allocate the video memory to draw the relevant information.) The other adviser screens appear to work just fine and I haven't had any problems with other graphical miscues, artifacts, or anything.

Hope that tidbit is helpful, and if not at least a little interesting. I was quite surprised that it worked myself. Might be something to try at least...

Hey, thanks for the info. I would also like to report something EXTREMLY IMPORTANT. It would seem that maintaining your 'save' folder for CIV IV is crucial to preventing the game from crashing. I have been deleting all old CIV IV saves, and only keeping out mabey 5-10 CIV saves at a time. This helped a lot for me.
 
Hello,

I still experience this problem on BTS 3.13 ; is it the same for others or shouldn't I experience it with this version ?

thanks for answering if you know.
 
@tariqari... wow... you have pretty much exactly the same computer i do... did you happen to get it from mdg? :P (the absolute only difference is that my X300 is 256 mb)

So no this is not limited to nvidia cards
and no it has not been fixed in BTS. It was once again, completely ignored. EDIT: well they did take that "hide allocation failure warnings" boolean from the config file; I'm guessing they tried fixing it or only partly fixed it. It seems to be a bit less common.

I'll let you know if these fixes work.
 
Don't know if anyone still having probs with this. I tried all sorts. Finally in MSCONFIG diasabled all start up and services. Worked like a charm. Then mucked around a bit and only disabled trend micro virus in start up and services. No further issues. Run huge map and full graphics now with no probs. Have Radeon 9250 and 3 yr old comp.
 
This issue has been addressed in the thread,"I Fixed the MAF error" by Slyflyer almost a year ago. maybe someone should make this a sticky.

http://forums.civfanatics.com/showthread.php?t=224178

The problem isn't the video card, it's windows self imposed limit of 2GB per program. Sometimes it goes past this limit temporarily and causes it to crash. This fix above should solve the problems as it turns on the 3GB limit limit Windows added and seems to have solved the problem as it would take a very long time to reach the new 3GB limit.

The reason it shows up as a video error is because the space is almost full and then the video card dumps a huge load of information and then windows goes over the limit.

Hope this helps
-=Mark=-
 
Back
Top Bottom