1.19j xp 10x8 map oom turn 215 during save

I had deleted the save folder, updated elemental, started elemental, started a new game on the same map ( 10 x 8 sectors, 3 continents, 6 + islands, 12 shards in map, 10 ai, 20 starts generated by elemeterra 2) with my usual sov & faction played to turn 215( seems that j is losing memory faster than i)

 according to the debug.err the crash appears to happen in the save code

zip file was created, added saves & dxdiag

harpo

 

4,179 views 8 replies
Reply #1 Top

reloaded save game (was at turn 211) played on to turn 320, again oom error message and again in the save stage

relevant part od debug.err

Debug Message:  CWorld::SetWorldTerrainTypeAtTile - 54 tile(s) had their environments updated.
DebugMessage:  About to auto save.  Memory: 1048993792 bytes
DebugMessage:  Deleting save game.   Curr. Memory Usage: 1048993792 bytes
Debug Message:  Attempting to allocate memory of size: 52428800 bytes
DebugMessage:  Error allocating memory: 52428800 bytes.

note elemental was using 1.1gb there was 1gb free ram, swap file size 565mb 23gb free space on windows drive, and all the same software workingin background as with i and all other xp error reports

 

zip file was created, added dxdiag and saves

harpo

Reply #2 Top

reloaded game (turn 311), played on to turn 360, and agin the oom error message, and again in the save, available ram at crash was 800MB

the relevant part of the debug.err

Debug Message:  - Ending Turn 350 -
Debug Message:  Current Memory Usage: 525012 KB
Debug Message:  Cities in World: 49
Debug Message:  Units in World: 1032
Debug Message:  Units in World with Gfx: 80
Debug Message:  GarabageCollection - Begin
Debug Message:  GarbageCollection - Complete
DebugMessage:  Updating ZOC.
DebugMessage:  Popup Manager Update: Unhiding SpellLevelUpWnd
Debug Message:  WARNING: No cutscene of internal name  found, using subpack type name
DebugMessage:  Out of sample handles.
Debug Message:  WARNING: No cutscene of internal name  found, using subpack type name
DebugMessage:  Out of sample handles.
DebugMessage:  Out of sample handles.
DebugMessage:  Out of sample handles.
DebugMessage:  Out of sample handles.
Debug Message:  WARNING: No cutscene of internal name  found, using subpack type name
DebugMessage:  Out of sample handles.
DebugMessage:  Out of sample handles.
DebugMessage:  Out of sample handles.
DebugMessage:  Out of sample handles.
DebugMessage:  Out of sample handles.
DebugMessage:  Out of sample handles.
DebugMessage:  About to auto save.  Memory: 549072896 bytes
DebugMessage:  Deleting save game.   Curr. Memory Usage: 549072896 bytes
Debug Message:  Attempting to allocate memory of size: 52428800 bytes
DebugMessage:  Error allocating memory: 52428800 bytes.

swap file size 439mb

zip created, added the save & dxdiag

harpo

 

Reply #3 Top

Double Post

Reply #4 Top

What size map are you playing Harpo? I notice the debug indicates 16x16 but if it's anything like my recent oom the map size is wrong.

Reply #5 Top

the load save indicates 10x8 (actual tile count is 160 x 128) and the acual code from the map file

  <DisplayName>e2 3 cont 12x8</DisplayName>
  <MapTileWidth>160</MapTileWidth>
  <MapTileHeight>128</MapTileHeight>
  <MapSectorWidth>10</MapSectorWidth>
  <MapSectorHeight>8</MapSectorHeight>
  <SectorTileWidth>16</SectorTileWidth>
  <SectorTileHeight>16</SectorTileHeight>
  <SpecialMap>1</SpecialMap>

harpo

 

Reply #6 Top

Quoting harpo99999, reply 5
the load save indicates 10x8 (actual tile count is 160 x 128) and the acual code from the map file

  <DisplayName>e2 3 cont 12x8</DisplayName>
  <MapTileWidth>160</MapTileWidth>
  <MapTileHeight>128</MapTileHeight>
  <MapSectorWidth>10</MapSectorWidth>
  <MapSectorHeight>8</MapSectorHeight>
  <SectorTileWidth>16</SectorTileWidth>
  <SectorTileHeight>16</SectorTileHeight>
  <SpecialMap>1</SpecialMap>

harpo

 
End of harpo99999's quote

i.e. 8 by 10 sectors where each sector is 16 by 16 giving a total 160 by 128

Reply #7 Top

It's interesting the debug seems to always say this:

Debug Message:  Map Size:
Debug Message:   Sectors: 1 x 1
Debug Message:   Tiles: 16 x 16
Debug Message:  Tile Vertex Resolution: 5 x 5 vertices
Debug Message:  ---------------------------------------------
Debug Message:  ---------------------------------------------
Debug Message:  ---------------------------------------------
Debug Message:  ---------------------------------------------
Debug Message:  NOTE: The extra tiles don't appear to be in MapData at this point.

I looked at a bunch of mine I've posted, says the same thing. Harpo's says the same too. Any ideas?

Reply #8 Top

I think that the tactical maps are about 16 x 16, whch from what I remember of the tac maps is about the correct size.

harpo