How do I fix an abort(OOM)
error
#454
Unanswered
debater-coder
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to export a bunch of frames to a video using
ffmpeg.wasm
. Currently I write all the frames usingffmpeg.wasm
and then I transcode them with this command:It works up to around frame 38, and then I get an
abort(OOM)
error. I've heard that compilingffmpeg.wasm
withALLOW_MEMORY_GROWTH=1
fixes it, but I've checked the docs on compiling the core, and it says to invoke a scriptbuild_with_docker.sh
but there is nothing that says how to pass these arguments to the script. I have no experience with Emscripten and the assumptions I've made here may be wrong.Beta Was this translation helpful? Give feedback.
All reactions