View Issue Details

IDProjectCategoryLast Update
0000177AI War 1 / ClassicCrash/ExceptionJan 4, 2011 1:43 pm
ReporterDazio Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version3.701 
Fixed in Version3.718 
Summary0000177: "Too many heap sections" crash (suspected memory leak)
DescriptionAlright, this is a bit of a complex bug to setup.

I was browsing the bug section to try and help out by expanding on existing bug reports and I ran into this crash.

I can reproduce this reliably on my machine as follows:

Create a new game, goto the galaxy map and back, zoom out, whatever.
Return to main menu, create a new game on a new map seed, then goto galaxy map, zoom around, etc.
Repeat until you see the crash, happens usually about the 3rd or 4th game in a row I've created.

I did not test this on save games and I only spent a few seconds in each game before quitting back to the main menu.

You can tell the crash occurs once AI War stops responding. When you alt-tab out you will see the attached error message about "Too Many Heap Sections" on the desktop. You can no longer alt-tab back to AI War and have to kill it from task manager.

Which is where my suspicion about a memory leak comes in. When I boot AI War clean and start a new game, task manager reports AI War as using 800megs. When I return to the task manager to force-kill AI War after the crash, it's using 1.2gigs. This was consistent across 3 times that I reproduced this.

Because I never saw this on the first game created after booting AI War fresh, I'm leaving it at minor severity even though it is technically a crash.
TagsNo tags attached.
Internal Weight

Relationships

related to 0002220 resolvedkeith.lamothe Reproducible, recurrent gc heap error 

Activities

Dazio

Oct 3, 2010 1:51 pm

reporter  

TooManyHeap.jpg (8,523 bytes)   
TooManyHeap.jpg (8,523 bytes)   

Dazio

Oct 3, 2010 1:51 pm

reporter  

output_log.txt (14,982 bytes)   
Mono path[0] = 'C:/Games/AIWarUnity/AIWar_Data/Managed'
Mono path[1] = 'C:/Games/AIWarUnity/AIWar_Data/Mono'
Direct3D:
    Version:  Direct3D 9.0c [aticfx32.dll 8.17.10.1043]
    Renderer: ATI Radeon HD 5800 Series
    Vendor:   ATI
    VRAM:     1024 MB
    Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=1 DF24=1 INTZ=1 RAWZ=0 NULL=1 RESZ=1 SlowINTZ=1
<I> Initializing (RawInput).

<RI> Input initialized.

desktop: 1920x1200 60Hz; virtual: 1920x1200 at 0,0
Non platform assembly: data-09270048 (this message is harmless)
Non platform assembly: data-09630020 (this message is harmless)
Non platform assembly: data-03205FB8 (this message is harmless)
Non platform assembly: data-0321DF70 (this message is harmless)
Non platform assembly: data-09520020 (this message is harmless)
Non platform assembly: data-0324FF88 (this message is harmless)
Non platform assembly: data-032578C0 (this message is harmless)
Non platform assembly: data-092D2FD0 (this message is harmless)
Non platform assembly: data-092FD308 (this message is harmless)
Non platform assembly: data-0930DA40 (this message is harmless)
Platform assembly: C:\Games\AIWarUnity\AIWar_Data\Managed\I18N.dll (this message is harmless)
Platform assembly: C:\Games\AIWarUnity\AIWar_Data\Managed\I18N.West.dll (this message is harmless)
Platform assembly: C:\Games\AIWarUnity\AIWar_Data\Managed\I18N.dll (this message is harmless)
        Platform assembly: C:\Games\AIWarUnity\AIWar_Data\Managed\System.dll (this message is harmless)
MainCameraLogic.Start
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:Start()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

MainCameraLogic.Instance = MainCameraLogic
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:StartInternal()
MainCameraLogic:FixedUpdate()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Platform assembly: C:\Games\AIWarUnity\AIWar_Data\Managed\System.Xml.dll (this message is harmless)


GameInit (1 - 10/3/2010 11:44:54 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)



GameInit (2 - 10/3/2010 11:44:54 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)



GameInit (3 - 10/3/2010 11:44:54 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)



GameInit (4 - 10/3/2010 11:44:54 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)



GameInit (5 - 10/3/2010 11:44:54 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)



GameInit (6 - 10/3/2010 11:44:55 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)



GameInit (7 - 10/3/2010 11:44:55 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)



GameInit (8 - 10/3/2010 11:44:55 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Generating map
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LobbyOptions:GenerateMap(Int32, Int32, MapStyle, Boolean)
LobbyOptions:GenerateMap()
LobbyOptions:HandleChangeToMapGenerationImpactingOption()
LobbyOptions:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Generating map
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LobbyOptions:GenerateMap(Int32, Int32, MapStyle, Boolean)
LobbyOptions:GenerateMap()
LobbyOptions:HandleChangeToMapGenerationImpactingOption()
LobbyOptions:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Processing Game Configuration.

StartGameFromLobby (0 - 10/3/2010 11:45:04 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Constructing Internal Database (1/4).

StartGameFromLobby (1 - 10/3/2010 11:45:04 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Constructing Internal Database (2/4).

StartGameFromLobby (2 - 10/3/2010 11:45:04 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Constructing Internal Database (3/4).

StartGameFromLobby (3 - 10/3/2010 11:45:04 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Constructing Internal Database (4/4).

StartGameFromLobby (4 - 10/3/2010 11:45:04 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Constructing Player Data.

StartGameFromLobby (5 - 10/3/2010 11:45:04 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Performing Some Random Selections.

StartGameFromLobby (6 - 10/3/2010 11:45:04 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Designating Human Homeworlds.

StartGameFromLobby (7 - 10/3/2010 11:45:04 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Assigning AI Homeworlds.

StartGameFromLobby (8 - 10/3/2010 11:45:04 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Assigning Remaining Planets.

StartGameFromLobby (9 - 10/3/2010 11:45:04 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Computing AI Strength Levels.

StartGameFromLobby (10 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Establishing AI Core Worlds.

StartGameFromLobby (11 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Upgrading Selected AI Planets.

StartGameFromLobby (12 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Populating Extra Objects.

StartGameFromLobby (13 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Creating Starting Human Units.

StartGameFromLobby (14 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Assinging Initial Bonus Ship Types.

StartGameFromLobby (15 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Reconstructing Player Data.

StartGameFromLobby (16 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Setting AI Tech Levels.

StartGameFromLobby (17 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Setting Up AI Planets.

StartGameFromLobby (18 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Creating Starting AI Units.

StartGameFromLobby (19 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Populating Guard Posts.

StartGameFromLobby (20 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Closing Unfilled Player Slots.

StartGameFromLobby (21 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Synchronizing Game Across Clients.

StartGameFromLobby (22 - 10/3/2010 11:45:05 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

AI Loop Started
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
AILoop:EnsureAIRunning()
LobbyPlayer:BeginGameFromLobby()
Game:ClientReceivingData(NetworkMessageType, String)
Game:ClientReceivingEncodedData(String)
Game:ClientReceivingData(NetworkMessageType, String)
NetworkServerWrapper:SendGlobalMessage(Boolean, NetworkMessageType, String, Int32)
Game:DoFullSync(Boolean, Boolean, Boolean, Boolean, Int32)
Game:ContinueStartingGameFromLobby()
Game:ContinueMultiStageProcess()
MainCameraLogic:Update()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Performing Cleanup.

StartGameFromLobby (23 - 10/3/2010 11:45:09 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

output_log.txt (14,982 bytes)   

keith.lamothe

Oct 4, 2010 10:08 am

administrator   ~0000113

Thanks for the report and caution when using the higher severity values ;)

This is indeed a crash-level problem, though, we're going to have to find out where all that memory is going and make sure it's not leaking. Also need to make sure our Unity graphics/sound/etc stuff isn't consuming more than necessary.

Chris_McElligottPark

Oct 8, 2010 8:37 pm

administrator   ~0000544

I'll be curious to see if you still see this in 3.704. We've made a number of improvements on a variety of fronts, which may help that.

Winter Born

Oct 8, 2010 8:50 pm

reporter   ~0000547

Last edited: Oct 8, 2010 8:51 pm

I can confirm same crash
Here is the details from the MS dump I found:


  Problem Event Name: AppHangB1
  Application Name: AIWar.exe
  Application Version: 3.0.0.51258
  Application Timestamp: 4c9f87ea
  Hang Signature: c79e
  Hang Type: 2048
  OS Version: 6.0.6002.2.2.0.768.3
  Locale ID: 1033
  Additional Hang Signature 1: 3d165363731639710caa9b92319b452f
  Additional Hang Signature 2: c79e
  Additional Hang Signature 3: 3d165363731639710caa9b92319b452f
  Additional Hang Signature 4: c79e
  Additional Hang Signature 5: 3d165363731639710caa9b92319b452f
  Additional Hang Signature 6: c79e
  Additional Hang Signature 7: 3d165363731639710caa9b92319b452f

Read our privacy statement:
  http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

keith.lamothe

Oct 15, 2010 10:48 am

administrator   ~0000865

Has anyone hit this in 3.713 or later? We've made quite a few improvements to memory allocation, etc.

BlackCobra

Oct 16, 2010 8:15 am

reporter   ~0000936

Last edited: Oct 16, 2010 9:58 am

played 3.715 and load my savegame from 3.714. After playing 2 hours i got the "Too many heap sections" message.

keith.lamothe

Oct 16, 2010 9:35 am

administrator   ~0000945

Drat. Well, thanks for letting us know :)

Chris_McElligottPark

Oct 18, 2010 11:34 pm

administrator   ~0001274

How about in 3.717? We changed a TON with that one memory-wise, so I suspect it may be solved now.

Dazio

Oct 18, 2010 11:43 pm

reporter   ~0001279

Last edited: Oct 18, 2010 11:51 pm

I haven't seen it recently.

However, because of the "Could not open network ports" error that you get if you try to start a second game without closing AI war completely, I've taken to hitting Alt-F4 when done and relaunching the game to conduct my tests rather then just quitting to the main menu and starting a new game.

Edit: K, just ran a quick test. Alternating between new games and a saved game I just started 6 games in a row without quitting the AI War program without seeing this error.

Upon quitting out of the 6th game back to the main menu, task manager shows AI War using 984 megs of memory. Quitting and booting fresh shows AI War using 708 megs.

I'm not sure if that discrepancy of 280 megs means a lot, but I would have almost certainly seen the error at some point during these 6 games if I was still running the old version. Since I didn't I would take that as good news.

Chris_McElligottPark

Oct 19, 2010 3:54 pm

administrator   ~0001336

Awesome, marking this one as done, then.

The discrepancy in memory usage is normal. The extra memory comes from two places:
1) Textures that are loaded into memory during runtime, and which are then intentionally held until the game closes.
2) Extra capacity that the Mono GC is hanging on to for the heap, which it continuously purges and reallocates for the program (so that it doesn't have to keep requesting more memory from the OS).

From the sound of things, it's handled!

lsmft

Jan 4, 2011 1:41 pm

reporter   ~0007444

Hate to revive this but I'm running 4.059 (Which I believe is the latest version) and I have had this crash twice today.

There seems to be no real trigger, in my case, except in both cases I was in the process of moving a combat group of +3500 ships, the second time was +8000 ships although strangely enough the game was paused at the time.


I checked task manager shortly before crash and it was running at 2gigs of ram and 1.4 million K.

Chris_McElligottPark

Jan 4, 2011 1:43 pm

administrator   ~0007445

There's a different thread about this at the moment, actually, with some more info: 2220

Issue History

Date Modified Username Field Change
Oct 3, 2010 1:51 pm Dazio New Issue
Oct 3, 2010 1:51 pm Dazio File Added: TooManyHeap.jpg
Oct 3, 2010 1:51 pm Dazio File Added: output_log.txt
Oct 4, 2010 10:08 am keith.lamothe Note Added: 0000113
Oct 4, 2010 10:08 am keith.lamothe Severity minor => crash
Oct 4, 2010 10:08 am keith.lamothe Status new => acknowledged
Oct 8, 2010 8:37 pm Chris_McElligottPark Note Added: 0000544
Oct 8, 2010 8:50 pm Winter Born Note Added: 0000547
Oct 8, 2010 8:51 pm Winter Born Note Edited: 0000547
Oct 15, 2010 10:48 am keith.lamothe Note Added: 0000865
Oct 15, 2010 10:48 am keith.lamothe Assigned To => keith.lamothe
Oct 15, 2010 10:48 am keith.lamothe Status acknowledged => feedback
Oct 16, 2010 8:15 am BlackCobra Note Added: 0000936
Oct 16, 2010 9:35 am keith.lamothe Note Added: 0000945
Oct 16, 2010 9:58 am BlackCobra Note Edited: 0000936
Oct 18, 2010 11:34 pm Chris_McElligottPark Note Added: 0001274
Oct 18, 2010 11:43 pm Dazio Note Added: 0001279
Oct 18, 2010 11:43 pm Dazio Status feedback => assigned
Oct 18, 2010 11:51 pm Dazio Note Edited: 0001279
Oct 19, 2010 3:54 pm Chris_McElligottPark Note Added: 0001336
Oct 19, 2010 3:54 pm Chris_McElligottPark Status assigned => resolved
Oct 19, 2010 3:54 pm Chris_McElligottPark Fixed in Version => 3.718
Oct 19, 2010 3:54 pm Chris_McElligottPark Resolution open => fixed
Jan 4, 2011 1:41 pm lsmft Note Added: 0007444
Jan 4, 2011 1:43 pm Chris_McElligottPark Note Added: 0007445
Jan 4, 2011 1:43 pm Chris_McElligottPark Relationship added related to 0002220
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception