Constant Memory Allocation Failures = Unplayable

jn2guru

Chieftain
Joined
Jan 20, 2013
Messages
1
I am playing the largest size map against 14 other AI civilizations. However, every 2-5 turns, the game crashes to desktop. The Minidump.dmp is always empty and the app.log always reports memory allocatiojn failure. I can reload the autosave and play a bit more, but it always crashes after only a couple turns. I enabled viewport in the BUG menu, and it doesn't seem to make a difference. Also - it doesn't appear to be a graphics memory issue since I'm not seeing the typical Direct X reporting of that error -- so I'm not sure how much reducing settings will actually help since that stuff should all be in video memory. Is there anything else I can do, or should I just start a new game on a smaller map?

System Specifications
Intel Core i7-3770K CPU @ 3.5GHz
16GB DDR3 Memory @ 1600MHz (usually around 12gb+ Free)
2x EVGA Nvidia GTX 660TI 2gb (SLI disabled for older games, such as Civ4)

Technical details:
Minidump.dmp is empty (probably cause it's out of memory!)
CFF Explorer reports Civilization IV: Beyond the Sword is already running with Large Address Aware (LAA) flag active

App Log:
Code:
[5124.164] FBMode = FBMODE_MULTISAMPLES_2
[5124.289] CvApp::OnActivate
[5126.099] CvApp::OnDeactivate
[5481.843] CvApp::OnActivate
[5484.105] CvApp::OnDeactivate
[5487.896] CvApp::OnActivate
[6461.327] ERR: Memory allocation failure - exiting program.
Reason:bad allocation

Attached:
Autosave
 

Attachments

I've got a few of these to look into but I can't make promises on my ability to be very successful with it. Hopefully I can find what's wrong though. Thanks for the save!
 
...since that stuff should all be in video memory.

Except Civ IV was written when video cards were new and it is 32bit, so I am not sure that it will even look to using all that memory.

Is there anything else I can do, or should I just start a new game on a smaller map?

Have you tried using the view ports option?
 
& dynamic unit entities

Assets\XML\A_New_Dawn_GlobalDefines.xml

go to the bottom and scroll up till you see
<DefineName>ENABLE_DYNAMIC_UNIT_ENTITIES</DefineName>
<iDefineIntVal>0</iDefineIntVal> change this to 1
</Define>
 
I checked the save earlier and although it was moving too slow to go more than a round into it on the debugger (which is normal under debugging mode) I could not get it to trigger a problem.
 
Back
Top Bottom