Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak while rendering video #12

Open
gulzar1996 opened this issue Oct 23, 2024 · 1 comment
Open

Memory leak while rendering video #12

gulzar1996 opened this issue Oct 23, 2024 · 1 comment

Comments

@gulzar1996
Copy link

gulzar1996 commented Oct 23, 2024

I've encountered memory leak while rendering threeJs template video for 10min

Step to reproduce

  • Render the template video increase by increasing the duration to 10 min

Rendering doesn't complete since it runs out of memory

error


Error: Could not take a screenshot because Google Chrome ran out of memory or disk space. Decrease the concurrency to use less RAM.
    at screenshotTask (/Users/gulzar/Documents/GitHub/template-three/node_modules/@remotion/renderer/dist/screenshot-task.js:91:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

attaching a memory reference screenshot

Image

@JonnyBurger
Copy link
Member

It sucks, but there is a memory leak in Chrome when using angle :(

You have to use the slower non-angle OpenGL renderers to prevent the memory leak.

https://www.remotion.dev/docs/gl-options#using-the-gpu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants