You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following errors on my NodeJS server when trying to get a video's frame: Error [RuntimeError]: operation does not support unaligned accesses Error [RuntimeError]: memory access out of bounds
It seems like the memory is not being cleared between consequtive operations, so memory that remains from a previous operation adds up to the current one, until it crashes.
It only happens when running on AWS (linux), locally (windows 10) it works as expected. I can increase the instance size on AWS, but it seems like a memory leak so it might not be the right way to tackle this.
I'm using @ffmpeg.wasm/main version 0.12.0
Is there a way to properly clear the memory in between operations? (operation = getting a new frame from a new video)
Is there a way to extract frames from videos without consuming so much memory?
I'm getting the following errors on my NodeJS server when trying to get a video's frame:
Error [RuntimeError]: operation does not support unaligned accesses
Error [RuntimeError]: memory access out of bounds
It seems like the memory is not being cleared between consequtive operations, so memory that remains from a previous operation adds up to the current one, until it crashes.
It only happens when running on AWS (linux), locally (windows 10) it works as expected. I can increase the instance size on AWS, but it seems like a memory leak so it might not be the right way to tackle this.
I'm using @ffmpeg.wasm/main version 0.12.0
Is there a way to properly clear the memory in between operations? (operation = getting a new frame from a new video)
Is there a way to extract frames from videos without consuming so much memory?
Here's how I'm doing it right now:
The text was updated successfully, but these errors were encountered: