Failed to Load Activities

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CSX FAN
    Senior Member
    • Mar 2006
    • 307
    • North Carolina

    #1

    Failed to Load Activities

    OR Team,

    I have been having problems with OR running my activities. I have no problem with them in MSTS, but here in OR, no activity will load up having AI trains. Here is an error message that I received with trying to run this on particular activity. But as stated before, it's with all my activities with AI trains.

    Error: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
    at System.Collections.Generic.List`1.set_Capacity(Int 32 value)
    at System.Collections.Generic.List`1.EnsureCapacity(I nt32 min)
    at System.Collections.Generic.List`1.Add(T item)
    at MSTS.CVCDiscrete.<>c__DisplayClass12.<.ctor>b__8()
    at MSTS.STFReader.ParseBlock(TokenProcessor[] processors)
    at MSTS.CVCDiscrete..ctor(STFReader stf, String basepath)
    at MSTS.CabViewControls.<>c__DisplayClass16.<.ctor>b_ _8()
    at MSTS.STFReader.ParseBlock(TokenProcessor[] processors)
    at MSTS.CabViewControls..ctor(STFReader stf, String basepath)
    at MSTS.CVFFile.<>c__DisplayClass8.<.ctor>b__4()
    at MSTS.STFReader.ParseBlock(TokenProcessor[] processors)
    at MSTS.CVFFile.<>c__DisplayClass8.<.ctor>b__0()
    at MSTS.STFReader.ParseFile(TokenProcessor[] processors)
    at MSTS.CVFFile..ctor(String filePath, String basePath)
    at ORTS.MSTSLocomotive.InitializeFromWagFile(String wagFilePath)
    at ORTS.MSTSWagon..ctor(Simulator simulator, String wagFilePath, TrainCar previousCar)
    at ORTS.MSTSLocomotive..ctor(Simulator simulator, String wagPath, TrainCar previousCar)
    at ORTS.MSTSDieselLocomotive..ctor(Simulator simulator, String wagFile, TrainCar previousCar)
    at ORTS.RollingStock.Load(Simulator simulator, String wagFilePath, TrainCar previousCar)
    at ORTS.AI.CreateAITrain(Service_Definition sd)
    at ORTS.AI..ctor(Simulator simulator)
    at ORTS.Simulator.Start()
    at ORTS.Program.Test(UserSettings settings, String[] args)
    at ORTS.Program.Main(String[] args)


    Thanks,
    CSX FAN
  • rdamurphy
    8000 Post Veteran
    • Nov 1999
    • 8429
    • Where Standard Gauge is 3 feet between the rails.

    #2
    Perhaps, if you could post your system specs, that would be helpful:

    Error: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    I would also recommend restarting your PC, and then trying to run an activity after a fresh boot to see if it makes any difference. OR will always require more memory than MSTS, it would seem, from the error message, that you don't have enough?

    Robert
    sigpic

    Comment

    • CSX FAN
      Senior Member
      • Mar 2006
      • 307
      • North Carolina

      #3
      I'll post my system specs in when I return home. But the main thing it points to is the following cabview: BNSF-ES44

      Warning: Some of this STF file was not parsed. in E:\Program Files\Microsoft Games\Train Simulator\trains\trainset\SLI.BNSF\CABVIEW\BNSF-ES44S.cvf:line 232

      Information: E:\Program Files\Microsoft Games\Train Simulator\trains\trainset\SLI.BNSF\bnsf_es44ac_574 5.eng

      Error: System.IO.InvalidDataException: Error loading the player locomotive. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
      at System.Collections.Generic.List`1.set_Capacity(Int 32 value)
      at System.Collections.Generic.List`1.EnsureCapacity(I nt32 min)
      at System.Collections.Generic.List`1.Add(T item)
      at MSTS.CVCDiscrete.<>c__DisplayClass12.<.ctor>b__8()
      at MSTS.STFReader.ParseBlock(TokenProcessor[] processors)
      at MSTS.CVCDiscrete..ctor(STFReader stf, String basepath)
      at MSTS.CabViewControls.<>c__DisplayClass16.<.ctor>b_ _8()
      at MSTS.STFReader.ParseBlock(TokenProcessor[] processors)
      at MSTS.CabViewControls..ctor(STFReader stf, String basepath)
      at MSTS.CVFFile.<>c__DisplayClass8.<.ctor>b__4()
      at MSTS.STFReader.ParseBlock(TokenProcessor[] processors)
      at MSTS.CVFFile.<>c__DisplayClass8.<.ctor>b__0()
      at MSTS.STFReader.ParseFile(TokenProcessor[] processors)
      at MSTS.CVFFile..ctor(String filePath, String basePath)
      at ORTS.MSTSLocomotive.InitializeFromWagFile(String wagFilePath)
      at ORTS.MSTSWagon..ctor(Simulator simulator, String wagFilePath, TrainCar previousCar)
      at ORTS.MSTSLocomotive..ctor(Simulator simulator, String wagPath, TrainCar previousCar)
      at ORTS.MSTSDieselLocomotive..ctor(Simulator simulator, String wagFile, TrainCar previousCar)
      at ORTS.RollingStock.Load(Simulator simulator, String wagFilePath, TrainCar previousCar)
      at ORTS.Simulator.InitializePlayerTrain()
      --- End of inner exception stack trace ---
      at ORTS.Simulator.InitializePlayerTrain()
      at ORTS.Simulator.InitializeTrains()
      at ORTS.Simulator.Start()
      at ORTS.Program.<>c__DisplayClass8.<Start>b__7()
      at ORTS.Program.Start(UserSettings settings, String[] args)
      at ORTS.Program.Main(String[] args)

      I can run an activity with no AI trains but with loose consists installed. But it seems that any engine with that cabview gives me trouble.

      Just ran an activity with AI trains but without and engines containing the BNSF-ES44 cvf file. They loaded and ran with no problem. BUT, I added another AI train using that cabview and thats when I got the same error message. I used the other SLI cabview with the CP engines and no problem running the game. Could it be that one cabview alone stopping the game from loading?

      CSX FAN
      Last edited by CSX FAN; 04-21-2013, 09:49. Reason: more information added

      Comment

      Working...