Memory Bleed?
ColinChisholm opened this issue · 0 comments
ColinChisholm commented
Thanks for this great package.
I am currently using it to extract the audio from ~1000 MP4
files. However, I suspect there may be some sort of memory-leak in av_audio_convert
. With each subsequent video converted, the memory usage in my R session continues to climb until machine resources are maxed out.
for (i in 1:length(l)) {
tryCatch({
av_audio_convert(l[i], ## input
a_names[i]) ## output
}, error=function(e){cat("ERROR :",conditionMessage(e), "\n")}
)
Note: I attempted this using windows 10, and via linux (in a docker container). Both ran out of memory.