gruppe-adler / grad-replay

Records player and AI movment and replays at the end of the mission.
GNU General Public License v3.0
8 stars 1 forks source link

CTD on huge replay assembly #32

Open McDiod opened 5 years ago

McDiod commented 5 years ago

Mission: FuelFrenzy Duration: ~3h Config:

class GRAD_Replay {
    precision = 3;                                    // precision of replay, 5 means every 5 seconds one snapshot (number)
    trackedSides[] = {"west","east","independent"};   // defines the sides that will be tracked (possible are "west", "east", "independant", "civilian") (array)
    stepsPerTick = 1;                                 // defines steps played back at once (number)
    trackedVehicles = 1;                              // defines if empty and AI steered vehicles will be tracked (0/1)
    trackedAI = 1;                                    // defines if AI will be tracked (0/1)
    sendingChunkSize = 10;                            // higher number means replay loading is faster, but might cause instability / lags during loading
    trackShots = 1;                                   // defines if shots will be tracked (0/1)
};

Possible solution: Delete every nth data point before assembly to retroactively decrease precision.

McDiod commented 5 years ago

McDiod:

23:00:23 [GRAD] (replay) INFO: Continuing assembly at index 1834 (recursion 62).
23:00:24 [GRAD] (replay) INFO: Continuing assembly at index 1866 (recursion 63).
23:00:24 [GRAD] (replay) INFO: Continuing assembly at index 1898 (recursion 64).
23:00:24 ErrorMessage: Too many virtual memory blocks requested
23:00:24 Application terminated intentionally
ErrorMessage: Too many virtual memory blocks requested
McDiod commented 5 years ago

Nomisum:

23:00:27 [GRAD] (replay) INFO: Continuing assembly at index 1458 (recursion 57).
23:00:27 [GRAD] (replay) INFO: Continuing assembly at index 1486 (recursion 58).
23:00:28 [GRAD] (replay) INFO: Continuing assembly at index 1513 (recursion 59).
23:00:28 ErrorMessage: Too many virtual memory blocks requested
23:00:28 Application terminated intentionally
ErrorMessage: Too many virtual memory blocks requested
McDiod commented 5 years ago

Note to self: This is not because array limit is reached, as that would error like so

Error Max array size would be reached. Current size: 9999999, wanted size: 10000000.