Out of Memory popup

Debug.err: Memory overflow detected in memory system UIGame

I have had this issue only when saving 3 or 4 times during 1.1. Now that I've updated to 1.11, the issue happens about every 2 hours of straight play or every 3rd save. Watching system resources directly using task manager, i can watch the memory being ate up and not released after each save and now slowly over time. Reminds me of a memory leak. I've tried uninstalling and then re-installing to no luck. I've increased the swapfile from the variable 1527-2072 up to a fixed 4240mb, doesn't buy any extra time. Added a second swapfile on a second hard drive at one point only to have it crash faster with this "Out of Memory" error pop up and the game stop.

Also, when starting the game, it eats all 1gb of ram up and about half of my swapfile right off the get go. Takes aproxitly five to ten minutes to load once you start a game either as new or by loading a saved game. Is this normal?!?

When playing the game, before even starting it, I shut everything down that normally runs. All anti-virus, spysweeping, booty dancing (just joking) programs are off so it is only the game itself running.

All drivers seem current enough, but currently checking next for this... however this isn't looking like a driver once i looked at the debug.err. This is looking like it is related to the acceleration attempts for the loading and saving of the game. Is it possible in the next update (1.2) to have the option of turning on or off the acceleration features that eat up all this memory?

Ironically, I never had an issue with the game straight off the disk. Awsome work, but what can I say... I love the tweeks and additions you guys have been making!

And if the one making the Star Trek mods is reading this... ROCK ON!


Grey

Here is the copy of Debug.err and I hope it helps shed light on this issue. I'm sure I'm not the only one with this one.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Debug Message: Version v1.11 last updated on: Mon May 8 11:15:04 2006
Debug Message: *********DXDiag info follows.*********
System Info
Time: 5/14/2006, 14:42:05
DirectX Version: DirectX 9.0c (4.09.0000.0904)
Machine Name: MEMORYBETA
Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_gdr.050301-1519)
Languages: English (Regional Setting: English)
System Manufacturer: Hewlett-Packard
System Model: Pavilion zv5200 (PR471UA#ABA)
BIOS: Ver 1.00PARTTBL
Processor: AMD Athlon(tm) 64 Processor 3200+, MMX, 3DNow, ~2.0GHz
Physical Memory: 1022MB RAM
Page File: 296MB used, 4240MB available
Windows Dir: F:\WINDOWS


Display Info
Display device 1:
Device Name: \\.\DISPLAY1
Card Name: NVIDIA GeForce4 MX 440 with AGP8X
Manufacturer: NVIDIA
Chip Type: GeForce4 440 Go 64M
DAC Type: Integrated RAMDAC
Key Device: Enum\PCI\VEN_10DE&DEV_0179&SUBSYS_006D103C&REV_A3
Display Memory: 64.0 MB
Current Display Mode: 1280 x 768 (32 bit) (60Hz)
Monitor Name: Default Monitor
Monitor Max Resolution:
Driver Name: nv4_disp.dll
Driver Version: 6.14.0010.8198
Driver Date: 12/10/2005 04:06:00
DirectX Acceleration Enabled: Yes



Sound info
Sound device 1:
Description: SoundMAX Digital Audio
Default Sound Playback: Yes
Default Voice Playback: Yes
Hardware ID: PCI\VEN_10DE&DEV_00DA&SUBSYS_006D103C&REV_A2
Manufacturer ID: 1
Product ID: 100
Driver Name: smwdm.sys
Provider: Analog Devices
Driver Version: 5.12.0001.4010
Driver Date: 1/13/2004 16:40:28
Type: WDM
Other Drivers:
Acceleration Level: 3
Cap Flags: 0
Min/Max Sample Rate: 0, 0

Sound device 1:
Description: Modem #0 Line Playback (emulated)
Default Sound Playback: No
Default Voice Playback: No
Hardware ID:
Manufacturer ID: 1
Product ID: 81
Driver Name:
Provider:
Driver Version:
Driver Date:
Type: Emulated
Other Drivers:
Acceleration Level: 3
Cap Flags: 0
Min/Max Sample Rate: 0, 0

Sound device 1:
Description: Modem #0 Handset Playback (emulated)
Default Sound Playback: No
Default Voice Playback: No
Hardware ID:
Manufacturer ID: 1
Product ID: 81
Driver Name:
Provider:
Driver Version:
Driver Date:
Type: Emulated
Other Drivers:
Acceleration Level: 3
Cap Flags: 0
Min/Max Sample Rate: 0, 0

Sound device 1:
Description: Modem #4 Line Playback (emulated)
Default Sound Playback: No
Default Voice Playback: No
Hardware ID:
Manufacturer ID: 1
Product ID: 81
Driver Name:
Provider:
Driver Version:
Driver Date:
Type: Emulated
Other Drivers:
Acceleration Level: 3
Cap Flags: 0
Min/Max Sample Rate: 0, 0

Sound device 1:
Description: Modem #4 Handset Playback (emulated)
Default Sound Playback: No
Default Voice Playback: No
Hardware ID:
Manufacturer ID: 1
Product ID: 81
Driver Name:
Provider:
Driver Version:
Driver Date:
Type: Emulated
Other Drivers:
Acceleration Level: 3
Cap Flags: 0
Min/Max Sample Rate: 0, 0

Sound device 1:
Description: Modem #5 Line Playback (emulated)
Default Sound Playback: No
Default Voice Playback: No
Hardware ID:
Manufacturer ID: 1
Product ID: 81
Driver Name:
Provider:
Driver Version:
Driver Date:
Type: Emulated
Other Drivers:
Acceleration Level: 3
Cap Flags: 0
Min/Max Sample Rate: 0, 0

Sound device 1:
Description: Modem #5 Handset Playback (emulated)
Default Sound Playback: No
Default Voice Playback: No
Hardware ID:
Manufacturer ID: 1
Product ID: 81
Driver Name:
Provider:
Driver Version:
Driver Date:
Type: Emulated
Other Drivers:
Acceleration Level: 3
Cap Flags: 0
Min/Max Sample Rate: 0, 0



Debug Message: *********END dxdiag info.*********
Debug Message: Entering WinMain
Debug Message: ******* Starting Game Shell *******
Debug Message: Going Fullscreen
Debug Message: Preparing to change display settings.
Debug Message: Using multilsample setting: D3DMULTISAMPLE_NONE
Debug Message: Game Resolution: 1280 x 768
Debug Message: Running fullscreen.
Debug Message: HAL (sw vp): NVIDIA GeForce4 MX 440 with AGP8X
Debug Message: D3DPRESENT_INTERVAL_DEFAULT
Debug Message: Refresh rate: 60
Debug Message: Bit Depth: 32 bit.
Debug Message: *********Checking D3DDevice Caps***********************
Debug Message: A full-color cursor is supported in hardware at high resolution modes.
Debug Message: RGB in format 6:6:6, Masks reported as ff0000:ff00:ff
Debug Message: Now Fullscreen
Debug Message: Shell initialization complete
Debug Message: ***** Initializing Game *****
Debug Message: Timer Frequency is 0 369e99
Debug Message: Initializing sound card.
Debug Message: initailizing bink
Debug Message: No string tables in D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods/*.str
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Gfx\*.png
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Gfx\Race\*.png
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\sfx\*.wav
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Music\*.mp3
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Event Music\*.mp3
Debug Message: Create setup screens.
Debug Message: Clear galaxy settings.
Debug Message: Clear influence.
Debug Message: Clear up laws.
Debug Message: Clear first time events.
Debug Message: Clear wonders and trade goods.
Debug Message: Clear sector mapper.
Debug Message: * Collectors Edition *
Debug Message: Set mouse.
Debug Message: Set update timer.
Debug Message: Clear data definitions.
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\Techs\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\ShipComponents\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\ShipDefs\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\PlanetImprovements\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\TerrainColorSchemes\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\PlanetDescriptions\*.xml
*DEBUG ERROR: ***Unable to find required tech ImpossibleTech for PirateShip. ***
Debug Message: Found existing ship type with class name: Ranger
*DEBUG ERROR: ***Unable to find required tech ImpossibleTech for Starbase. ***
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\ships\*.shipclass
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\Anomalies\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\Events\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\UPIssues\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\Invasion\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\PoliticalParties\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\StarTypes\*.xml
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\Data\StarbaseModules\*.xml
Debug Message: Reading Star Names
Debug Message: Reading Star Names... Done
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Dread Lords Campaign\*.sav
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Logos\*.sav
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Metaverse\*.sav
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\*.sav
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Portraits\*.sav
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\ships\*.sav
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\temp\*.sav
Debug Message: Killing threads.
Debug Message: Kiling civs.
Debug Message: Killing ships.
Debug Message: Killing rallypoints.
Debug Message: Killing misc objects.
Debug Message: Killing stars.
Debug Message: Killing anomalies.
Debug Message: Killing space resources.
Debug Message: Killing colonies and planets.
Debug Message: killing scenario.
Debug Message: Clear galaxy settings.
Debug Message: Clear influence.
Debug Message: Clear up laws.
Debug Message: Clear first time events.
Debug Message: Clear wonders and trade goods.
Debug Message: Clear sector mapper.
Debug Message: Loading Custom Map
Debug Message: Loading Data Defs
Debug Message: Data Defs block size: 1085205
Debug Message: Clear data definitions.
Debug Message: Loading TechDefs
Debug Message: Max num techs: 248
Debug Message: Loading ImprovementDB
Debug Message: Loading Component Defs
Debug Message: Loading ShipTypes
Debug Message: Loading ShipConfigs
Debug Message: Loading AnomalyTypes
Debug Message: Loading RandomEvents
Debug Message: Loading UPIssues
Debug Message: Loading ResourceTypes
Debug Message: Loading InvasionTactics
Debug Message: Loading SBmodules
Debug Message: Loading PoliticalParties
Debug Message: Loading Planet Types
Debug Message: Loading Star Types
Debug Message: Loading Game
Debug Message: Loading Galaxy
Debug Message: Sectors across: 18 x 18
Debug Message: Loading FOW Map
Debug Message: Loading ZOC Map
Debug Message: Loading Planets
Debug Message: Loading Stars
Debug Message: Loading Anomalies
Debug Message: Loading Resources
Debug Message: Loading Civs
Debug Message: Loading Colonies
Debug Message: Loading RallyPoints
Debug Message: Loading Ships
Debug Message: Loading Fleets
Debug Message: Can't find ship type Fleet in definitions
Debug Message: Can't find ship type Fleet in definitions
Debug Message: Can't find ship type Fleet in definitions
Debug Message: Loading ENDGALAXYDATA
Debug Message: Updating ZOC.
Debug Message: UIBeginGame called with g_ulLocalPlayerID = 10
Debug Message: UIBeginGameHelper: New Game Started
Debug Message: Torian Confederation (4): Researching: Trade
Debug Message: StackedShipsWnd: Cannot find OBJID Stacked_Logistics_Value
Debug Message: StackedShipsWnd: Cannot find OBJID stacked_Fleet_More_Button
Debug Message: setting size 16 x 0
Debug Message: setting size 16 x 0
Debug Message: setting size 16 x 0
Debug Message: StarportWnd: Cannot find OBJID StarPort_Planet_Logo_Image
Debug Message: Destroying ship Colony Ship Mark III 597. Orbiting: 0
Debug Message: Updating ZOC.
Debug Message: Destroying ship Colony Ship Mark III 539. Orbiting: 0
Debug Message: Updating ZOC.
Debug Message: Save Game: About to save
Debug Message: Saving game D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\QuickSave.sav
Debug Message: Num Sectors Across: 18
Debug Message: Max num techs: 248
Debug Message: Total tech data size: 147783 Max tech size: 1891
Debug Message: Total improvement db size: 62707
Debug Message: Component defs data size: 158225
Debug Message: Total ship class data size: 83021 Max ship class data size: 614
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\s*_UD_*.shipcfg
Debug Message: Total Ship config data size: 30076 Max ship config data size: 3890
Debug Message: Total anomaly types data: 17300, Max anomaly type size: 692
Debug Message: Total random event data size: 31840 Max random event size: 1276
Debug Message: Total UP issue data size: 236940 Max UP issue size: 7180
Debug Message: Total resource type data size: 1600 Max resource type data size: 332
Debug Message: Total invasion tatic data size: 2790 Max invasion tactic data size: 476
Debug Message: Total starbase module data size: 311168 Max starbase module size: 3536
Debug Message: Total political party data size: 13576 Max political party size: 1697
Debug Message: Total planet types data size: 0 Max planet type size: 0
Debug Message: Total star type data size: 6896 Max star type size: 862
Debug Message: Game Object data: 16
Debug Message: Galaxy data: 14515
Debug Message: FOW data: 453528
Debug Message: ZOC data: 2960
Debug Message: Total Planet data size: 8884185 Max Planet data size: 4644
Debug Message: Total Star data size: 215816 Max Star data size: 424
Debug Message: Total Anomaly data size: 8700 Max Anomaly data size: 348
Debug Message: Total Space resource data size: 8758 Max space resource data size: 302
Debug Message: Total Civilization data size: 906315 Max Civ data size: 96419
Debug Message: Total Colony data size: 51460 Max colony data size: 270
Debug Message: Total Rally point data size: 0 Max Rallypoint data size: 0
Debug Message: Total Ship data size: 205324 Max Ship Data size: 1488
Debug Message: Total Fleet data size: 14772 Max Fleet Data size: 5908
Debug Message: Save game finished.
Debug Message: Destroying ship Colony Ship Mark III 612. Orbiting: 0
Debug Message: Updating ZOC.
Debug Message: Destroying ship Colony Ship Mark III 617. Orbiting: 0
Debug Message: Updating ZOC.
Debug Message: Destroying ship Constructor Mark II 623. Orbiting: 0
Debug Message: Destroying ship Constructor Mark II 632. Orbiting: 0
Debug Message: Random Event: Begin
Debug Message: Random Event: End
Debug Message: CampaignVictoryWnd: Cannot find OBJID Campaign_Screen_Back
Debug Message: CampaignVictoryWnd: Cannot find OBJID Campaign_Status_Title
Debug Message: ForeignRelationsWnd: Cannot find OBJID Foreign_Relations_Destabilize_Slider
Debug Message: ForeignRelationsWnd: Cannot find OBJID Foreign_Relations_Destabilize_Scale
Debug Message: ForeignRelationsWnd: Cannot find OBJID Foreign_Relations_Destabilize_Title
Debug Message: ForeignRelationsWnd: Cannot find OBJID Foreign_Relations_Destabilize_Value
Debug Message: Save Game: About to save
Debug Message: Saving game D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\QuickSave.sav
Debug Message: Num Sectors Across: 18
Debug Message: Max num techs: 248
Debug Message: Total tech data size: 147783 Max tech size: 1891
Debug Message: Total improvement db size: 62707
Debug Message: Component defs data size: 158225
Debug Message: Total ship class data size: 83021 Max ship class data size: 614
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\s*_UD_*.shipcfg
Debug Message: Total Ship config data size: 30076 Max ship config data size: 3890
Debug Message: Total anomaly types data: 17300, Max anomaly type size: 692
Debug Message: Total random event data size: 31840 Max random event size: 1276
Debug Message: Total UP issue data size: 236940 Max UP issue size: 7180
Debug Message: Total resource type data size: 1600 Max resource type data size: 332
Debug Message: Total invasion tatic data size: 2790 Max invasion tactic data size: 476
Debug Message: Total starbase module data size: 311168 Max starbase module size: 3536
Debug Message: Total political party data size: 13576 Max political party size: 1697
Debug Message: Total planet types data size: 0 Max planet type size: 0
Debug Message: Total star type data size: 6896 Max star type size: 862
Debug Message: Game Object data: 16
Debug Message: Galaxy data: 14515
Debug Message: FOW data: 464176
Debug Message: ZOC data: 2984
Debug Message: Total Planet data size: 8885743 Max Planet data size: 4644
Debug Message: Total Star data size: 215816 Max Star data size: 424
Debug Message: Total Anomaly data size: 8352 Max Anomaly data size: 348
Debug Message: Total Space resource data size: 8758 Max space resource data size: 302
Debug Message: Total Civilization data size: 906315 Max Civ data size: 96419
Debug Message: Total Colony data size: 51920 Max colony data size: 270
Debug Message: Total Rally point data size: 0 Max Rallypoint data size: 0
Debug Message: Total Ship data size: 201404 Max Ship Data size: 1488
Debug Message: Total Fleet data size: 14772 Max Fleet Data size: 5908
Debug Message: Save game finished.
Debug Message: Destroying ship Constructor Mark II 602. Orbiting: 0
Debug Message: Destroying ship Colony Ship Mark III 633. Orbiting: 0
Debug Message: Updating ZOC.
Debug Message: Destroying ship Colony Ship Mark III 631. Orbiting: 0
Debug Message: Updating ZOC.
Debug Message: Updating ZOC.
Debug Message: Destroying ship Torian Colony Ship M3-8 616. Orbiting: 0
Debug Message: Destroying ship Korx Colony Ship M2-1 624. Orbiting: 0
Debug Message: Updating ZOC.
Debug Message: Random Event: Begin
Debug Message: Random Event: End
Debug Message: Save Game: About to save
Debug Message: Saving game D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\QuickSave.sav
Debug Message: Num Sectors Across: 18
Debug Message: Max num techs: 248
Debug Message: Total tech data size: 147783 Max tech size: 1891
Debug Message: Total improvement db size: 62707
Debug Message: Component defs data size: 158225
Debug Message: Total ship class data size: 83021 Max ship class data size: 614
Debug Message: No files found matching mask D:\XP32space\Documents and Settings\David\My Documents\My Games\GalCiv2\Mods\s*_UD_*.shipcfg
Debug Message: Total Ship config data size: 30076 Max ship config data size: 3890
Debug Message: Total anomaly types data: 17300, Max anomaly type size: 692
Debug Message: Total random event data size: 31840 Max random event size: 1276
Debug Message: Total UP issue data size: 236940 Max UP issue size: 7180
Debug Message: Total resource type data size: 1600 Max resource type data size: 332
Debug Message: Total invasion tatic data size: 2790 Max invasion tactic data size: 476
Debug Message: Total starbase module data size: 311168 Max starbase module size: 3536
Debug Message: Total political party data size: 13576 Max political party size: 1697
Debug Message: Total planet types data size: 0 Max planet type size: 0
Debug Message: Total star type data size: 6896 Max star type size: 862
Debug Message: Game Object data: 16
Debug Message: Galaxy data: 14515
Debug Message: FOW data: 472988
Debug Message: ZOC data: 3044
Debug Message: Total Planet data size: 8887501 Max Planet data size: 4644
Debug Message: Total Star data size: 215816 Max Star data size: 424
Debug Message: Total Anomaly data size: 8004 Max Anomaly data size: 348
Debug Message: Total Space resource data size: 8758 Max space resource data size: 302
Debug Message: Total Civilization data size: 906267 Max Civ data size: 96371
Debug Message: Total Colony data size: 52840 Max colony data size: 270
Debug Message: Total Rally point data size: 0 Max Rallypoint data size: 0
Debug Message: Total Ship data size: 198972 Max Ship Data size: 1488
ASSERT ERROR in file .\Source\memman.cpp at line 1371.
ASSERT ERROR in file .\Source\memman.cpp at line 978.
Debug Message: Memory overflow detected in memory system UIGame
5,869 views 5 replies
Reply #1 Top
Weird, it should be fixed in 1.11. Bumpage.
Reply #2 Top
I'll drop a note to Cari about this. We definitely don't want it running out of memory while saving!
Reply #4 Top
UPDATE

Figured out a work around while poking through the prefs.ini.

The line:
PreloadModels=1

Change it to:
PreloadModels=0

I haven't had an out of memory error or crash for that matter after this so it seems to have something to do with this... In addition, it only takes about 30 seconds now to start the game new or load from a saved game as oppose to the five to ten minute wait time as it preloaded everything for the game!

Hope this helps to solve the out of memory bit when saving.

Grey
Reply #5 Top
I had this error in 1.1 and reported it also. It crashed while saving on the last turn of the game after every other race had given in. I have yet to have it in 1.11 but have not played it much. Really interested in if the preload fix works and if so how do I change it. I play well but never mod or make changes to any code.