View Issue Details

IDProjectCategoryLast Update
0000970AI War 1 / ClassicCrash/ExceptionJan 3, 2011 11:45 am
Reporterthemachineissentient Assigned Tokeith.lamothe  
Status closedResolutionunable to reproduce 
Product Version4.021 
Summary0000970: instantaneous slowdown after a couple hours of play
DescriptionI noticed that the memory usage went from 894 to the middle 900 area after a couple hours of play. It continued to rise slowly. All of a sudden, the performance of the game becomes unbearably slow. It is very fast- great performance becomes unbearable instantaneously. After restarting the game, the performance goes back to normal. I will continue to monitor this, if you are not already aware of it.

Currently, after restarting the game, the memory usage is back in the 800's.
TagsNo tags attached.
Internal Weight

Activities

keith.lamothe

Oct 30, 2010 12:24 pm

administrator   ~0002376

No, I had no idea that was happening. If it's at all possible to provide a save that reliably reproduces the issue (even if it requires loading it and waiting a while, etc), the please post that. Without one it would be very unlikely that I would find the problem and be able to fix it.

keith.lamothe

Oct 30, 2010 12:25 pm

administrator   ~0002378

Do you have any error logs with messages from that game? It's possible that it hit some massive string of errors and was grinding to a halt writing lots of log messages or something. I doubt it, but it is possible.

themachineissentient

Oct 30, 2010 1:02 pm

reporter  

Halloween.sav (157,582 bytes)

themachineissentient

Oct 30, 2010 1:02 pm

reporter   ~0002381

This is the file, the earliest point I have before the crash. My most recent save point is after I reloaded unfortunately.

themachineissentient

Oct 30, 2010 1:03 pm

reporter  

UnhandledErrors.txt (3,876 bytes)   
10/27/2010 8:57:08 PM (4.000)
-----------------------------------Error-----------------------------------Log String: OnGUI: System.InvalidOperationException: Comparison threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at InGameStatsWindow.<SubclassPreShow>m__C6 (.ForegroundUnitType Left, .ForegroundUnitType Right) [0x00000] in <filename unknown>:0 
  at System.Array.qsort[ForegroundUnitType] (.ForegroundUnitType[] array, Int32 low0, Int32 high0, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  at System.Array.Sort[ForegroundUnitType] (.ForegroundUnitType[] array, Int32 length, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Array.Sort[ForegroundUnitType] (.ForegroundUnitType[] array, Int32 length, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[ForegroundUnitType].Sort (System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  at InGameStatsWindow.SubclassPreShow () [0x00000] in <filename unknown>:0 
  at AbstractArcenWindow.PreShow () [0x00000] in <filename unknown>:0 
  at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 
  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 
Stack Trace:   at System.Array.Sort[ForegroundUnitType] (.ForegroundUnitType[] array, Int32 length, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[ForegroundUnitType].Sort (System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  at InGameStatsWindow.SubclassPreShow () [0x00000] in <filename unknown>:0 
  at AbstractArcenWindow.PreShow () [0x00000] in <filename unknown>:0 
  at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 
  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 
10/27/2010 8:57:30 PM (4.000)
-----------------------------------Error-----------------------------------Log String: OnGUI: System.InvalidOperationException: Comparison threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at InGameStatsWindow.<SubclassPreShow>m__C6 (.ForegroundUnitType Left, .ForegroundUnitType Right) [0x00000] in <filename unknown>:0 
  at System.Array.qsort[ForegroundUnitType] (.ForegroundUnitType[] array, Int32 low0, Int32 high0, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  at System.Array.Sort[ForegroundUnitType] (.ForegroundUnitType[] array, Int32 length, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Array.Sort[ForegroundUnitType] (.ForegroundUnitType[] array, Int32 length, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[ForegroundUnitType].Sort (System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  at InGameStatsWindow.SubclassPreShow () [0x00000] in <filename unknown>:0 
  at AbstractArcenWindow.PreShow () [0x00000] in <filename unknown>:0 
  at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 
  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 
Stack Trace:   at System.Array.Sort[ForegroundUnitType] (.ForegroundUnitType[] array, Int32 length, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[ForegroundUnitType].Sort (System.Comparison`1 comparison) [0x00000] in <filename unknown>:0 
  at InGameStatsWindow.SubclassPreShow () [0x00000] in <filename unknown>:0 
  at AbstractArcenWindow.PreShow () [0x00000] in <filename unknown>:0 
  at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 
  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 
UnhandledErrors.txt (3,876 bytes)   

themachineissentient

Oct 30, 2010 1:07 pm

reporter   ~0002382

It happened after I invaded Wiraeci. I cleared out the whole planet, and the wormhole posts were just shooting at me. And then everything slowed down to a crawl.
Next time that happens, is there some kind of debug information I can give you? a list perhaps, of everything you would need..

keith.lamothe

Oct 30, 2010 1:08 pm

administrator   ~0002383

Ok, the unhandled errors are from 4.000 a few days ago (and refer to errors we've already fixed), so no worries there.

If you run that save, does it crash at a particular point in time for you? I mean, does it reproduce.

keith.lamothe

Oct 30, 2010 1:09 pm

administrator   ~0002384

Ah, just saw your second message, thanks.

And as far as a list, just any error files (they're all .txt) in your game directory or RuntimeData directory; if you have time to check that they actually have an entry from today that's good too.

keith.lamothe

Oct 30, 2010 1:34 pm

administrator   ~0002386

Just tried to reproduce it by:

1) Loading your save.
2) Sacking Wiraeci with the triangle ships.

Nothing undue happened, though the sentinels kiting me was funny.

Can you reproduce the problem from that save?

themachineissentient

Oct 30, 2010 1:38 pm

reporter   ~0002387

working on it.

themachineissentient

Nov 3, 2010 11:21 pm

reporter   ~0002662

I'm not seeing anything, and the latest builds have been really good. you can close this.

Chris_McElligottPark

Nov 3, 2010 11:21 pm

administrator   ~0002663

Sweet!

Issue History

Date Modified Username Field Change
Oct 30, 2010 12:23 pm themachineissentient New Issue
Oct 30, 2010 12:24 pm keith.lamothe Note Added: 0002376
Oct 30, 2010 12:25 pm keith.lamothe Note Added: 0002378
Oct 30, 2010 1:02 pm themachineissentient File Added: Halloween.sav
Oct 30, 2010 1:02 pm themachineissentient Note Added: 0002381
Oct 30, 2010 1:03 pm themachineissentient File Added: UnhandledErrors.txt
Oct 30, 2010 1:07 pm themachineissentient Note Added: 0002382
Oct 30, 2010 1:08 pm keith.lamothe Note Added: 0002383
Oct 30, 2010 1:09 pm keith.lamothe Note Added: 0002384
Oct 30, 2010 1:34 pm keith.lamothe Note Added: 0002386
Oct 30, 2010 1:38 pm themachineissentient Note Added: 0002387
Nov 1, 2010 12:50 pm keith.lamothe Assigned To => keith.lamothe
Nov 1, 2010 12:50 pm keith.lamothe Status new => feedback
Nov 3, 2010 11:21 pm themachineissentient Note Added: 0002662
Nov 3, 2010 11:21 pm themachineissentient Status feedback => assigned
Nov 3, 2010 11:21 pm Chris_McElligottPark Note Added: 0002663
Nov 3, 2010 11:21 pm Chris_McElligottPark Status assigned => resolved
Nov 3, 2010 11:21 pm Chris_McElligottPark Resolution open => unable to reproduce
Jan 3, 2011 11:45 am Chris_McElligottPark Status resolved => closed
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception