View Issue Details

IDProjectCategoryLast Update
0025839AI War 2Crash/ExceptionNov 30, 2021 1:39 pm
ReporterMajor Dullard Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.754 Player Types 
Fixed in VersionBeta 3.760 Chaotic Maps And Ark Empires 
Summary0025839: game hangs after selecting swirl map type
Descriptionalso linked rings
TagsNo tags attached.

Activities

UFO

Nov 19, 2021 9:40 am

reporter   ~0063331

I can confirm.
ArcenDebugLog.txt (19,175 bytes)   
11/19/2021 6:36:04 PM	SINGLEP	Current directory used: C:/Program Files/Steam/steamapps/common/AI War 2/
Process Count = 0 so PlayerDataDirectory used: C:/Program Files/Steam/steamapps/common/AI War 2/PlayerData/
11/19/2021 6:36:05 PM	SINGLEP	Boot up FleetOS (0.1691s)
11/19/2021 6:36:05 PM	SINGLEP	graphicsDeviceType in use: Direct3D11
graphicsDeviceVersion in use: Direct3D 11.0 [level 11.1]
graphicsMultiThreaded: False
graphicsShaderLevel: 50
operatingSystem: Windows 10  (10.0.19043) 64bit
graphicsDeviceName: NVIDIA GeForce GTX 1050 Ti
graphicsDeviceID: 7298
graphicsDeviceVendor: NVIDIA
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: Direct3D 11.0 [level 11.1]
graphicsMemorySize: 4018
maxTextureSize: 16384
npotSupport: Full
processorType: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
processorCount: 4
processorFrequency: 3408
systemMemorySize: 16339
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: True
11/19/2021 6:36:05 PM	SINGLEP	Check System Logs For Rogue Intelligence (0.2227s)
11/19/2021 6:36:05 PM	SINGLEP	Warning: skipped mod "_Vanilla" in XMLLoadingOrder.txt because we couldn't find any mod with that name
11/19/2021 6:36:05 PM	SINGLEP	Inspect Aft Hatches (0.0288s)
11/19/2021 6:36:05 PM	SINGLEP	Found 428 xml files in 120 folders in 42ms
11/19/2021 6:36:05 PM	SINGLEP	Check For Extra Modules (0.4776s)
11/19/2021 6:36:05 PM	SINGLEP	428 Xml Files Parsed in 434ms
11/19/2021 6:36:05 PM	SINGLEP	Gather Ancient Lifeforms (0.0045s)
11/19/2021 6:36:05 PM	3.754	SINGLEP	Game Version: 3.754
11/19/2021 6:36:05 PM	3.754	SINGLEP	Eject Trash Into Hyperspace (0.0094s)
11/19/2021 6:36:05 PM	3.754	SINGLEP	Bring Cloaking Systems Online (0.0228s)
11/19/2021 6:36:05 PM	3.754	SINGLEP	Update mod and expansion statuses!
11/19/2021 6:36:05 PM	3.754	SINGLEP	Expansions:  The Spire Rises (Installed And Enabled!)  Zenith Onslaught (Installed And Enabled!)  The Neinzul Abyss (NOT INSTALLED)  
11/19/2021 6:36:05 PM	3.754	SINGLEP	Mods:  CapturableDreadnoughts (Disabled)  ExoticShips (Disabled)  ExperimentalFuel (Disabled)  ExtendedShipVariants (Disabled)  FrigatesFocus (Disabled)  MicroModCollection (Disabled)  MoreFrigates (Disabled)  MoreStartingFleets (Disabled)  MoreSystemDefenders (Disabled)  PowerfulCommandStations (Disabled)  RaisingTheFloorMultiAIAdjustment (Disabled)  SKCivilianIndustry (Disabled)  SpireRailgunShop (Disabled)  StrategicRebalance (Disabled)  StrategicRebalanceDLC1 (Disabled)  StrategicRebalanceDLC2 (Disabled)  SuperchargeRaid (Disabled)  SuperSaiyanOverlord (Disabled)  TameDarkSpire (Disabled)  
11/19/2021 6:36:05 PM	3.754	SINGLEP	Check Nearby Stellar Masses (0.0233s)
11/19/2021 6:36:05 PM	3.754	SINGLEP	428 Xml Files Checked For Exp/Mod Status in 13ms
11/19/2021 6:36:05 PM	3.754	SINGLEP	Pruning Excess Brain Cells (0.0615s)
11/19/2021 6:36:05 PM	3.754	SINGLEP	No resolution change was required.
11/19/2021 6:36:05 PM	3.754	SINGLEP	Applied graphics settings: 
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
11/19/2021 6:36:05 PM	3.754	SINGLEP	Applied Framerate Type: 144 FPS (vsync: 0 targetFPS:144)
11/19/2021 6:36:05 PM	3.754	SINGLEP	Remembering Alamo (0.0967s)
11/19/2021 6:36:06 PM	3.754	SINGLEP	Calculate Odds Of Success (0.1428s)
11/19/2021 6:36:06 PM	3.754	SINGLEP	Briefly Panic (0.1999s)
11/19/2021 6:36:06 PM	3.754	SINGLEP	Install Confidence Routines (0.3908s)
11/19/2021 6:36:06 PM	3.754	SINGLEP	Late Axionic Computations (0.2654s)
11/19/2021 6:36:07 PM	3.754	SINGLEP	Acquiring Towel (0.0198s)
11/19/2021 6:36:07 PM	3.754	SINGLEP	Inhibiting Visual Scans (0.0154s)
11/19/2021 6:36:07 PM	3.754	SINGLEP	Ejecting Tactical Core (0.0600s)
11/19/2021 6:36:07 PM	3.754	SINGLEP	Grouping Flow Fields (0.0382s)
11/19/2021 6:36:07 PM	3.754	SINGLEP	Brandishing Starfields (0.1150s)
11/19/2021 6:36:07 PM	3.754	SINGLEP	Scanning Distant Planets (0.1458s)
11/19/2021 6:36:07 PM	3.754	SINGLEP	Calculating Firing Cones (0.0055s)
11/19/2021 6:36:07 PM	3.754	SINGLEP	Violating Ship Part Bylaws (0.4866s)
11/19/2021 6:36:07 PM	3.754	SINGLEP	Re-Aligning Objectives (0.0952s)
11/19/2021 6:36:09 PM	3.754	SINGLEP	Re-attaching Front Part (1.7261s)
11/19/2021 6:36:09 PM	3.754	SINGLEP	Post-Proton Surge (0.0114s)
11/19/2021 6:36:09 PM	3.754	SINGLEP	Background Radiation Taste Test (0.0248s)
11/19/2021 6:36:09 PM	3.754	SINGLEP	Shuffling Chairs On Command Deck (0.0139s)
11/19/2021 6:36:09 PM	3.754	SINGLEP	Nomad cleanup!
11/19/2021 6:36:09 PM	3.754	SINGLEP	Windshield Wiping (0.1295s)
11/19/2021 6:36:10 PM	3.754	SINGLEP	Last Organizational Modeling (0.3963s)
11/19/2021 6:36:10 PM	3.754	SINGLEP	Stimulate Modulation (0.3413s)
11/19/2021 6:36:10 PM	3.754	SINGLEP	ArcenAssetBundleCache.InstantiatedObjects: 0
11/19/2021 6:36:10 PM	3.754	SINGLEP	Order Cores By Seniority (0.0079s)
11/19/2021 6:36:10 PM	3.754	SINGLEP	DELAYED1 TID13 Info: will dump 1337 rows for GameEntityReferenceData.csv and GameEntityStrengthList.txt.
11/19/2021 6:36:11 PM	3.754	SINGLEP	Final Checks (0.3844s)
11/19/2021 6:36:11 PM	3.754	SINGLEP	Load Historical Documents (0.0045s)
11/19/2021 6:36:11 PM	3.754	SINGLEP	6.1 seconds total load time.
Check For Extra Modules (0.5s)
Install Confidence Routines (0.4s)
Late Axionic Computations (0.3s)
Violating Ship Part Bylaws (0.5s)
Re-attaching Front Part (1.7s)
Last Organizational Modeling (0.4s)
Stimulate Modulation (0.3s)
Final Checks (0.4s)
11/19/2021 6:36:11 PM	3.754	SINGLEP	Hello Steam user 'starshatter'
11/19/2021 6:36:13 PM	3.754	SINGLEP	Start load save: C:/Program Files/Steam/steamapps/common/AI War 2/PlayerData/Save/_Internal/LastLobbySettings.save Source1: StartingTheLobbyFromPrior Source3: LoadingLastLobbySettings
11/19/2021 6:36:13 PM	3.754	SINGLEP	null possible names for planet Type: Normal so we go into Malkovich mode.
11/19/2021 6:36:13 PM	3.754	SINGLEP	loading as template
11/19/2021 6:36:13 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction AIReserves because every game should have exactly one of these.
11/19/2021 6:36:13 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction AntiAIZombie because every game should have exactly one of these.
11/19/2021 6:36:13 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction AntiEveryoneZombie because every game should have exactly one of these.
11/19/2021 6:36:13 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction AntiPlayerZombie because every game should have exactly one of these.
11/19/2021 6:36:13 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction Instigators because every game should have exactly one of these.
11/19/2021 6:36:13 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction NaturalObject because every game should have exactly one of these.
11/19/2021 6:36:13 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction Outguard because every game should have exactly one of these.
11/19/2021 6:36:13 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction WormholeInvasion because every game should have exactly one of these.
11/19/2021 6:36:13 PM	3.754	SINGLEP	Finish load save in 178.0ms
11/19/2021 6:36:13 PM	3.754	SINGLEP	Start Generate Partial Map with Realistic and seed 1836287227 and planet count 80 and 10 factions (StartingTheLobbyFromPrior LoadingLastLobbySettings)
11/19/2021 6:36:14 PM	3.754	SINGLEP	PlayerAccount UFO has now been put in control of faction 1 - Unknown Human Type.
11/19/2021 6:36:14 PM	3.754	SINGLEP	Generate Partial Map Complete  309ms Seed: 1836287227
11/19/2021 6:36:25 PM	3.754	SINGLEP	Start Generate Partial Map with D18Swirl and seed 1836287227 and planet count 80 and 16 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
11/19/2021 6:36:30 PM	3.754	SINGLEP	CreateGalaxies exception at debugStage 1200, exception: System.OutOfMemoryException: Out of memory
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at Arcen.Universal.List`1[T].set_Capacity (System.UInt32 value) [0x00032] in <c492c6a4614c4016ae776248c0adde19>:0 
  at Arcen.Universal.List`1[T].EnsureCapacity (System.UInt32 newCap) [0x00046] in <c492c6a4614c4016ae776248c0adde19>:0 
  at Arcen.Universal.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000ad] in <c492c6a4614c4016ae776248c0adde19>:0 
  at Arcen.Universal.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00001] in <c492c6a4614c4016ae776248c0adde19>:0 
  at Arcen.Universal.List`1[T].ToThrowawayListCanMemLeak_HugeWasteAndExpensive_AvoidIfAtAllPossible () [0x00007] in <c492c6a4614c4016ae776248c0adde19>:0 
  at Arcen.AIW2.External.Mapgen_D18_Ellipses.GenerateMapStructureOnly (Arcen.AIW2.Core.Galaxy galaxy, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.MapConfiguration mapConfig, Arcen.AIW2.Core.MapTypeData mapType) [0x002a8] in <567fee101ad1468fb4f7d51a74cd1b67>:0 
  at Arcen.AIW2.Core.World_AIW2.CreateGalaxies (Arcen.AIW2.Core.ArcenHostOnlySimContext BroadContext, Arcen.AIW2.Core.ArcenHostOnlySimContext DetailsContext) [0x001e1] in <bc9a13a004974799ba2bd978ecc1faf8>:0 


11/19/2021 6:36:30 PM	3.754	SINGLEP	PlayerAccount UFO is controlling faction 1 - Unknown Human Type already.
11/19/2021 6:36:33 PM	3.754	SINGLEP	Generate Partial Map Complete  7350ms Seed: 1836287227
11/19/2021 6:37:04 PM	SINGLEP	Current directory used: C:/Program Files/Steam/steamapps/common/AI War 2/
Process Count = 0 so PlayerDataDirectory used: C:/Program Files/Steam/steamapps/common/AI War 2/PlayerData/
11/19/2021 6:37:05 PM	SINGLEP	Boot up FleetOS (0.1677s)
11/19/2021 6:37:05 PM	SINGLEP	graphicsDeviceType in use: Direct3D11
graphicsDeviceVersion in use: Direct3D 11.0 [level 11.1]
graphicsMultiThreaded: False
graphicsShaderLevel: 50
operatingSystem: Windows 10  (10.0.19043) 64bit
graphicsDeviceName: NVIDIA GeForce GTX 1050 Ti
graphicsDeviceID: 7298
graphicsDeviceVendor: NVIDIA
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: Direct3D 11.0 [level 11.1]
graphicsMemorySize: 4018
maxTextureSize: 16384
npotSupport: Full
processorType: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
processorCount: 4
processorFrequency: 3408
systemMemorySize: 16339
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: True
11/19/2021 6:37:05 PM	SINGLEP	Check System Logs For Rogue Intelligence (0.2103s)
11/19/2021 6:37:05 PM	SINGLEP	Warning: skipped mod "_Vanilla" in XMLLoadingOrder.txt because we couldn't find any mod with that name
11/19/2021 6:37:05 PM	SINGLEP	Inspect Aft Hatches (0.0308s)
11/19/2021 6:37:05 PM	SINGLEP	Found 428 xml files in 120 folders in 34ms
11/19/2021 6:37:05 PM	SINGLEP	Check For Extra Modules (0.4533s)
11/19/2021 6:37:05 PM	SINGLEP	428 Xml Files Parsed in 421ms
11/19/2021 6:37:05 PM	SINGLEP	Gather Ancient Lifeforms (0.0094s)
11/19/2021 6:37:05 PM	3.754	SINGLEP	Game Version: 3.754
11/19/2021 6:37:05 PM	3.754	SINGLEP	Eject Trash Into Hyperspace (0.0174s)
11/19/2021 6:37:05 PM	3.754	SINGLEP	Bring Cloaking Systems Online (0.0218s)
11/19/2021 6:37:05 PM	3.754	SINGLEP	Update mod and expansion statuses!
11/19/2021 6:37:05 PM	3.754	SINGLEP	Expansions:  The Spire Rises (Installed And Enabled!)  Zenith Onslaught (Installed And Enabled!)  The Neinzul Abyss (NOT INSTALLED)  
11/19/2021 6:37:05 PM	3.754	SINGLEP	Mods:  CapturableDreadnoughts (Disabled)  ExoticShips (Disabled)  ExperimentalFuel (Disabled)  ExtendedShipVariants (Disabled)  FrigatesFocus (Disabled)  MicroModCollection (Disabled)  MoreFrigates (Disabled)  MoreStartingFleets (Disabled)  MoreSystemDefenders (Disabled)  PowerfulCommandStations (Disabled)  RaisingTheFloorMultiAIAdjustment (Disabled)  SKCivilianIndustry (Disabled)  SpireRailgunShop (Disabled)  StrategicRebalance (Disabled)  StrategicRebalanceDLC1 (Disabled)  StrategicRebalanceDLC2 (Disabled)  SuperchargeRaid (Disabled)  SuperSaiyanOverlord (Disabled)  TameDarkSpire (Disabled)  
11/19/2021 6:37:05 PM	3.754	SINGLEP	Check Nearby Stellar Masses (0.0268s)
11/19/2021 6:37:05 PM	3.754	SINGLEP	428 Xml Files Checked For Exp/Mod Status in 10ms
11/19/2021 6:37:05 PM	3.754	SINGLEP	Pruning Excess Brain Cells (0.0689s)
11/19/2021 6:37:06 PM	3.754	SINGLEP	No resolution change was required.
11/19/2021 6:37:06 PM	3.754	SINGLEP	Applied graphics settings: 
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
11/19/2021 6:37:06 PM	3.754	SINGLEP	Applied Framerate Type: 144 FPS (vsync: 0 targetFPS:144)
11/19/2021 6:37:06 PM	3.754	SINGLEP	Remembering Alamo (0.1235s)
11/19/2021 6:37:06 PM	3.754	SINGLEP	Calculate Odds Of Success (0.3070s)
11/19/2021 6:37:06 PM	3.754	SINGLEP	Briefly Panic (0.3254s)
11/19/2021 6:37:07 PM	3.754	SINGLEP	Install Confidence Routines (0.4102s)
11/19/2021 6:37:07 PM	3.754	SINGLEP	Late Axionic Computations (0.5357s)
11/19/2021 6:37:07 PM	3.754	SINGLEP	Acquiring Towel (0.0208s)
11/19/2021 6:37:07 PM	3.754	SINGLEP	Inhibiting Visual Scans (0.0159s)
11/19/2021 6:37:07 PM	3.754	SINGLEP	Ejecting Tactical Core (0.0595s)
11/19/2021 6:37:07 PM	3.754	SINGLEP	Grouping Flow Fields (0.0377s)
11/19/2021 6:37:07 PM	3.754	SINGLEP	Brandishing Starfields (0.1190s)
11/19/2021 6:37:08 PM	3.754	SINGLEP	Destroying Distant Planets (0.1463s)
11/19/2021 6:37:08 PM	3.754	SINGLEP	Calculating Firing Cones (0.0055s)
11/19/2021 6:37:08 PM	3.754	SINGLEP	Violating Ship Part Bylaws (0.4880s)
11/19/2021 6:37:08 PM	3.754	SINGLEP	Re-Aligning Objectives (0.0923s)
11/19/2021 6:37:10 PM	3.754	SINGLEP	Detecting Microfractures (1.7216s)
11/19/2021 6:37:10 PM	3.754	SINGLEP	Post-Proton Surge (0.0114s)
11/19/2021 6:37:10 PM	3.754	SINGLEP	Background Radiation Taste Test (0.0263s)
11/19/2021 6:37:10 PM	3.754	SINGLEP	Shuffling Chairs On Command Deck (0.0134s)
11/19/2021 6:37:10 PM	3.754	SINGLEP	Nomad cleanup!
11/19/2021 6:37:10 PM	3.754	SINGLEP	Windshield Wiping (0.1260s)
11/19/2021 6:37:10 PM	3.754	SINGLEP	Last Organizational Modeling (0.3730s)
11/19/2021 6:37:11 PM	3.754	SINGLEP	Stimulate Modulation (0.3442s)
11/19/2021 6:37:11 PM	3.754	SINGLEP	ArcenAssetBundleCache.InstantiatedObjects: 0
11/19/2021 6:37:11 PM	3.754	SINGLEP	Order Cores By Seniority (0.0089s)
11/19/2021 6:37:10 PM	3.754	SINGLEP	DELAYED1 TID7 Info: will dump 1337 rows for GameEntityReferenceData.csv and GameEntityStrengthList.txt.
11/19/2021 6:37:11 PM	3.754	SINGLEP	Final Checks (0.3775s)
11/19/2021 6:37:11 PM	3.754	SINGLEP	Load Historical Documents (0.0044s)
11/19/2021 6:37:11 PM	3.754	SINGLEP	6.7 seconds total load time.
Check For Extra Modules (0.5s)
Calculate Odds Of Success (0.3s)
Briefly Panic (0.3s)
Install Confidence Routines (0.4s)
Late Axionic Computations (0.5s)
Violating Ship Part Bylaws (0.5s)
Detecting Microfractures (1.7s)
Last Organizational Modeling (0.4s)
Stimulate Modulation (0.3s)
Final Checks (0.4s)
11/19/2021 6:37:11 PM	3.754	SINGLEP	Hello Steam user 'starshatter'
11/19/2021 6:37:14 PM	3.754	SINGLEP	Start load save: C:/Program Files/Steam/steamapps/common/AI War 2/PlayerData/Save/_Internal/LastLobbySettings.save Source1: StartingTheLobbyFromPrior Source3: LoadingLastLobbySettings
11/19/2021 6:37:14 PM	3.754	SINGLEP	null possible names for planet Type: Normal so we go into Malkovich mode.
11/19/2021 6:37:15 PM	3.754	SINGLEP	loading as template
11/19/2021 6:37:15 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction AIReserves because every game should have exactly one of these.
11/19/2021 6:37:15 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction AntiAIZombie because every game should have exactly one of these.
11/19/2021 6:37:15 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction AntiEveryoneZombie because every game should have exactly one of these.
11/19/2021 6:37:15 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction AntiPlayerZombie because every game should have exactly one of these.
11/19/2021 6:37:15 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction Instigators because every game should have exactly one of these.
11/19/2021 6:37:15 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction NaturalObject because every game should have exactly one of these.
11/19/2021 6:37:15 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction Outguard because every game should have exactly one of these.
11/19/2021 6:37:15 PM	3.754	SINGLEP	Fix Missing Faction: Added the faction WormholeInvasion because every game should have exactly one of these.
11/19/2021 6:37:15 PM	3.754	SINGLEP	Finish load save in 175.9ms
11/19/2021 6:37:15 PM	3.754	SINGLEP	Start Generate Partial Map with Realistic and seed 69890920 and planet count 80 and 10 factions (StartingTheLobbyFromPrior LoadingLastLobbySettings)
11/19/2021 6:37:15 PM	3.754	SINGLEP	PlayerAccount UFO has now been put in control of faction 1 - Unknown Human Type.
11/19/2021 6:37:15 PM	3.754	SINGLEP	Generate Partial Map Complete  365ms Seed: 69890920
11/19/2021 6:37:19 PM	3.754	SINGLEP	Start Generate Partial Map with D18Rings and seed 69890920 and planet count 80 and 16 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
11/19/2021 6:37:23 PM	3.754	SINGLEP	CreateGalaxies exception at debugStage 1200, exception: System.OutOfMemoryException: Out of memory
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at Arcen.Universal.List`1[T].set_Capacity (System.UInt32 value) [0x00032] in <c492c6a4614c4016ae776248c0adde19>:0 
  at Arcen.Universal.List`1[T].EnsureCapacity (System.UInt32 newCap) [0x00046] in <c492c6a4614c4016ae776248c0adde19>:0 
  at Arcen.Universal.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000ad] in <c492c6a4614c4016ae776248c0adde19>:0 
  at Arcen.Universal.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00001] in <c492c6a4614c4016ae776248c0adde19>:0 
  at Arcen.Universal.List`1[T].ToThrowawayListCanMemLeak_HugeWasteAndExpensive_AvoidIfAtAllPossible () [0x00007] in <c492c6a4614c4016ae776248c0adde19>:0 
  at Arcen.AIW2.External.Mapgen_D18_LinkedRings+<>c__DisplayClass2_0.<GenerateMapStructureOnly>b__0 (Arcen.AIW2.Core.Planet planet) [0x00019] in <567fee101ad1468fb4f7d51a74cd1b67>:0 
  at Arcen.AIW2.Core.Galaxy.DoForPlanetsSingleThread (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x0003b] in <bc9a13a004974799ba2bd978ecc1faf8>:0 
  at Arcen.AIW2.External.Mapgen_D18_LinkedRings.GenerateMapStructureOnly (Arcen.AIW2.Core.Galaxy galaxy, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.MapConfiguration mapConfig, Arcen.AIW2.Core.MapTypeData mapType) [0x004f3] in <567fee101ad1468fb4f7d51a74cd1b67>:0 
  at Arcen.AIW2.Core.World_AIW2.CreateGalaxies (Arcen.AIW2.Core.ArcenHostOnlySimContext BroadContext, Arcen.AIW2.Core.ArcenHostOnlySimContext DetailsContext) [0x001e1] in <bc9a13a004974799ba2bd978ecc1faf8>:0 


11/19/2021 6:37:23 PM	3.754	SINGLEP	PlayerAccount UFO is controlling faction 1 - Unknown Human Type already.
11/19/2021 6:37:27 PM	3.754	SINGLEP	Generate Partial Map Complete  8253ms Seed: 69890920
ArcenDebugLog.txt (19,175 bytes)   

BadgerBadger

Nov 19, 2021 7:50 pm

manager   ~0063332

This is an out of memory problem! Presumably related to Chris' change in Lists.

11/19/2021 6:37:19 PM 3.754 SINGLEP Start Generate Partial Map with D18Rings and seed 69890920 and planet count 80 and 16 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
11/19/2021 6:37:23 PM 3.754 SINGLEP CreateGalaxies exception at debugStage 1200, exception: System.OutOfMemoryException: Out of memory
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at Arcen.Universal.List`1[T].set_Capacity (System.UInt32 value) [0x00032] in <c492c6a4614c4016ae776248c0adde19>:0
  at Arcen.Universal.List`1[T].EnsureCapacity (System.UInt32 newCap) [0x00046] in <c492c6a4614c4016ae776248c0adde19>:0
  at Arcen.Universal.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000ad] in <c492c6a4614c4016ae776248c0adde19>:0
  at Arcen.Universal.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00001] in <c492c6a4614c4016ae776248c0adde19>:0
  at Arcen.Universal.List`1[T].ToThrowawayListCanMemLeak_HugeWasteAndExpensive_AvoidIfAtAllPossible () [0x00007] in <c492c6a4614c4016ae776248c0adde19>:0
  at Arcen.AIW2.External.Mapgen_D18_LinkedRings+<>c__DisplayClass2_0.<GenerateMapStructureOnly>b__0 (Arcen.AIW2.Core.Planet planet) [0x00019] in <567fee101ad1468fb4f7d51a74cd1b67>:0
  at Arcen.AIW2.Core.Galaxy.DoForPlanetsSingleThread (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x0003b] in <bc9a13a004974799ba2bd978ecc1faf8>:0
  at Arcen.AIW2.External.Mapgen_D18_LinkedRings.GenerateMapStructureOnly (Arcen.AIW2.Core.Galaxy galaxy, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.MapConfiguration mapConfig, Arcen.AIW2.Core.MapTypeData mapType) [0x004f3] in <567fee101ad1468fb4f7d51a74cd1b67>:0
  at Arcen.AIW2.Core.World_AIW2.CreateGalaxies (Arcen.AIW2.Core.ArcenHostOnlySimContext BroadContext, Arcen.AIW2.Core.ArcenHostOnlySimContext DetailsContext) [0x001e1] in <bc9a13a004974799ba2bd978ecc1faf8>:0

BadgerBadger

Nov 19, 2021 7:51 pm

manager   ~0063333

If it turns out that there's nothing wrong with the new ThrowayLists then the algorithm might need to just be adjusted to be more memory efficient?

Chris_McElligottPark

Nov 30, 2021 12:21 pm

administrator   ~0063359

Okay, so I've got the map generation set up so that it shows us what is happening in realtime on slow maps, and generates them on a background thread in general. Somehow this swirl map type still manages to lock up the entire game despite being on a BG thread. What's most interesting is that within about 30 second it's using 16GB of ram for me and climbing. I don't care to let it crash with an out of memory exception, since there are already stack traces from that, so I just killed it.

I figured the new map stuff would help debug this one, but nope! Well, let's dig in and see what we have.

Chris_McElligottPark

Nov 30, 2021 12:54 pm

administrator   ~0063360

Oh, so this is swirl AND linked rings. Huh. That had me thrown for a bit.

Chris_McElligottPark

Nov 30, 2021 1:39 pm

administrator   ~0063361

Thanks!

* Fixed a one-line typo in ToThrowawayListCanMemLeak_HugeWasteAndExpensive_AvoidIfAtAllPossible() where it was creating a throwaway list from a regular managed list, but then filling the contents of the managed list with the contents of the managed list rather than filling the throwaway list with the contents of the managed list.
** This led to a pretty incredible infinite memory leak and crash to desktop in the rare cases where this is actually used, most notably in some of the map types. Swirl and linked rings were the main ones.

Issue History

Date Modified Username Field Change
Nov 19, 2021 5:28 am Major Dullard New Issue
Nov 19, 2021 9:40 am UFO Note Added: 0063331
Nov 19, 2021 9:40 am UFO File Added: ArcenDebugLog.txt
Nov 19, 2021 7:50 pm BadgerBadger Note Added: 0063332
Nov 19, 2021 7:51 pm BadgerBadger Note Added: 0063333
Nov 30, 2021 12:21 pm Chris_McElligottPark Note Added: 0063359
Nov 30, 2021 12:54 pm Chris_McElligottPark Note Added: 0063360
Nov 30, 2021 1:39 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Nov 30, 2021 1:39 pm Chris_McElligottPark Status new => resolved
Nov 30, 2021 1:39 pm Chris_McElligottPark Resolution open => fixed
Nov 30, 2021 1:39 pm Chris_McElligottPark Fixed in Version => Beta 3.760 Chaotic Maps And Ark Empires
Nov 30, 2021 1:39 pm Chris_McElligottPark Note Added: 0063361