Loop Timetable: Simulation "out Of Memory"

Discussion in 'PC Editor Discussion' started by Isaak, Oct 11, 2024.

  1. Isaak

    Isaak Well-Known Member

    Joined:
    Aug 5, 2019
    Messages:
    390
    Likes Received:
    457
    Since a few days I'm having random issues with certain formations/services blocking the timetable simulation process (it hangs on them), after which the simulation process seems to run out of memory and crashes.

    These are the last lines of the log file:
    Code:
    TS2Editor: TOD: +04:37:44.350, Progress: 10.95%, Avg Frame Time: 2.13ms, Total Time: +00:07:55, Active Services: 1
    TS2Dispatcher: Service: P_DB_69342 entered section 1 (17) on route 0 for signal R_762 to signal P_002
    TS2: Service AI RB79 (58003) in started instruction 0 at 2024.01.01-04.38.00
    LogMemory: Freeing 33554432 bytes from backup pool to handle out of memory.
    LogMemory: MemoryStats:
        AvailablePhysical 17755709440
        AvailableVirtual 9898430464
             UsedPhysical 11481419776
        PeakUsedPhysical 25814695936
              UsedVirtual 29719740416
          PeakUsedVirtual 57707552768
    Allocator Stats for TBB: (not implemented)
    LogOutputDevice: 
    
    Script Stack (3 frames):
    MSB_DB_DestinationManager_C.AutoSetDestinationForService
    RVM_MSB_DB_766pbzfa_C.ExecuteUbergraph_RVM_MSB_DB_766pbzfa
    RVM_MSB_DB_766pbzfa_C.BndEvt__RailVehiclePhysicsComponent_K2Node_ComponentBoundEvent_0_ReceiveServiceSetupDelegate__DelegateSignature
    
    LogWindows: Windows GetLastError: De bewerking is voltooid. (0)
    LogWindows: === Critical error: ===
    LogWindows: 
    LogWindows: Fatal error: [File:F:/DEV/ND24-BuildPublicEditor-EpicRelease/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMemory.cpp] [Line: 197] 
    LogWindows: Ran out of memory allocating 25769803764 bytes with alignment 0
    LogWindows: 
    LogWindows: 
    LogWindows: [Callstack] 0x00007ffab744b699 KERNELBASE.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9feef0356 TrainSimWorldPublicEditor-Core.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9feef3a18 TrainSimWorldPublicEditor-Core.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fec0e91d TrainSimWorldPublicEditor-Core.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fea192aa TrainSimWorldPublicEditor-Core.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9feab87b6 TrainSimWorldPublicEditor-Core.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9feab88e3 TrainSimWorldPublicEditor-Core.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9e038d92a TrainSimWorldPublicEditor-TS2Prototype.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9e0378c4c TrainSimWorldPublicEditor-TS2Prototype.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9e0d14152 TrainSimWorldPublicEditor-TS2Prototype.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1e7d11c4 TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea40f49 TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea57ee7 TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea84bf1 TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea5a99d TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea305ca TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea5a5a8 TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea57ee7 TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea5a99d TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea305ca TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea5a5a8 TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea5a99d TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea59e04 TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1e7d11c4 TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffa1ea59573 TrainSimWorldPublicEditor-CoreUObject.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fbc134b5 TrainSimWorldPublicEditor-Engine.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9dfcc5dcb TrainSimWorldPublicEditor-TS2Prototype.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9e0965f31 TrainSimWorldPublicEditor-TS2Prototype.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9e0393fad TrainSimWorldPublicEditor-TS2Prototype.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9e0392f6a TrainSimWorldPublicEditor-TS2Prototype.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9e0397589 TrainSimWorldPublicEditor-TS2Prototype.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fbc29d0a TrainSimWorldPublicEditor-Engine.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fbbf6f30 TrainSimWorldPublicEditor-Engine.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fcda0dfe TrainSimWorldPublicEditor-Engine.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fcda98ec TrainSimWorldPublicEditor-Engine.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fe9c8968 TrainSimWorldPublicEditor-Core.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fe9c8d4e TrainSimWorldPublicEditor-Core.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fe9d9f6e TrainSimWorldPublicEditor-Core.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fcdc6641 TrainSimWorldPublicEditor-Engine.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fcdccdda TrainSimWorldPublicEditor-Engine.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fc4f2f7f TrainSimWorldPublicEditor-Engine.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9fc4fd47f TrainSimWorldPublicEditor-Engine.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9df45b6ae TrainSimWorldPublicEditor-TS2PrototypeEditor.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff9df44aa66 TrainSimWorldPublicEditor-TS2PrototypeEditor.dll!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff62dde7beb TrainSimWorldPublicEditor.exe!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff62dddf45d TrainSimWorldPublicEditor.exe!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff62dddf7ba TrainSimWorldPublicEditor.exe!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff62ddf320d TrainSimWorldPublicEditor.exe!UnknownFunction []
    LogWindows: [Callstack] 0x00007ff62ddf4fce TrainSimWorldPublicEditor.exe!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffab9787374 KERNEL32.DLL!UnknownFunction []
    LogWindows: [Callstack] 0x00007ffab995cc91 ntdll.dll!UnknownFunction []
    LogWindows: 
    LogExit: Executing StaticShutdownAfterError
    LogWindows: FPlatformMisc::RequestExit(1)
    LogCore: Engine exit requested (reason: Win RequestExit)
    Log file closed, 10/11/24 09:13:04
    

    The affected vehicle seems to be "RVM_MSB_DB_766pbzfa". This is used in a formation consisting of a DB BR 146 with 3 Dosto's (including cab car). This formation is used for the first time for service "AI RB79 (58003) in".

    If I disconnect this formation from the service (keeping it in the vault and not simulating this service), the simulations runs on fine, but the issue happens on another service, this time an ICE 3M formation (DB BR 406), that spawns a few hours later.

    I first thought that it had to do with old Virtual Destinations that I had set up previously using a modified Station list, but after checking and removing every virtual destination from the "enter portal" instructions, the issue is still persisting. I am currently completely unable to simulate my timetable and have no clue why it is happening. Can anyone shine a light on this?
     
  2. Isaak

    Isaak Well-Known Member

    Joined:
    Aug 5, 2019
    Messages:
    390
    Likes Received:
    457
    I might have found a cause. I enabled "loop timetable" in the timetable options a few days ago, as I have set up my whole timetable to loop. Every formation ends exactly as it starts the timetable: in the right order in a portal or on the exact right location on the map. I have zero errors while compiling the timetable. Should I keep this option disabled? That would be a pity. Should I take care of something else to be able to loop the timetable?

    The issue is gone when I disable this option in the timetable options.
     

Share This Page