OCAP2 / OCAP

OCAP is an Arma 3 mission recording suite. It consists of a serverside addon and a packaged web server executable that allows for after-action review and better insight into what really happened.
Other
58 stars 14 forks source link

Web client can't view large recordings on Chrome #78

Open ghost opened 11 months ago

ghost commented 11 months ago

The web client cannot load a recently recorded operation on Chromium 118.0.5993.117 with the following error:

image

The op is 3h30m long and was recorded with a 0.3s delay. The JSON is 19MiB compressed, 568MiB uncompressed. Instrumenting a bit, it appears that the error occurs between https://github.com/OCAP2/web/blob/9b0d865e2d3b8425b69ba7660226b18efce7fb00/static/scripts/ocap.js#L488-L489. This probably happens because V8 (apparently) cannot handle strings larger than 512MB (https://stackoverflow.com/a/60330341).

For what it's worth, Firefox actually works, so I guess it's not that big of an issue if the client PC has the RAM to spare.