[Opensim-dev] r/26205 - Statistics bug ( moving average calculation) can't be set higher then 10

André Verwijs dutch.glory at yahoo.com
Sun Aug 30 17:34:49 UTC 2015



   [Statistics]
	; NumberOfFrames is used in a moving average calculation, where 
NumberOfFrames is the number of frames
	; to include in the averaging calculations
	NumberOfFrames = 10

   when set higher than 10 you will get:

  19:19:41 - [APPLICATION]:
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.IndexOutOfRangeException: Array index is out of range.
   at 
OpenSim.Region.Framework.Scenes.SimStatsReporter.addFrameTimeMilliseconds (Double 
total, Double simulation,
      Double physics, Double network) [0x00000] in <filename unknown>:0
   at OpenSim.Region.Framework.Scenes.Scene.Update (Int32 frames) 
[0x00000] in <filename unknown>:0
   at OpenSim.Region.Framework.Scenes.Scene.Heartbeat () [0x00000] in 
<filename unknown>:0
   at System.Threading.Thread.StartInternal () [0x00000] in <filename 
unknown>:0

Application is terminating: True

Region (MetalFan Standalone) # [ERROR] FATAL UNHANDLED EXCEPTION: 
System.IndexOutOfRangeException: Array index is out of range.
   at 
OpenSim.Region.Framework.Scenes.SimStatsReporter.addFrameTimeMilliseconds (Double 
total, Double simulation,
      Double physics, Double network) [0x00000] in <filename unknown>:0
   at OpenSim.Region.Framework.Scenes.Scene.Update (Int32 frames) 
[0x00000] in <filename unknown>:0
   at OpenSim.Region.Framework.Scenes.Scene.Heartbeat () [0x00000] in 
<filename unknown>:0
   at System.Threading.Thread.StartInternal () [0x00000] in <filename 
unknown>:0


..



More information about the Opensim-dev mailing list