Timed out evaluating page function
The error message "Timed out evaluating page function"
generally happens if the Remotion renderer is trying to send a JavaScript command to the browser, but the browser does not respond to it within the timeout (before v4.0.73: 5 second, from v4.0.73: the --timeout flag, by default 30 seconds).
This means that the browser is hanging due to CPU and memory overload. It does not imply that a delayRender() was not cleared.
To resolve this, consider:
- Decreasing the --concurrencyof the render
- Measuring memory and CPU usage of your render and adding more resources to it
- Increasing the --timeoutflag
- Looking for ways to speed up your JavaScript code
- Watch out for infinite loops in your code and debug your render