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 Bleed? #43

Open
ColinChisholm opened this issue Jul 25, 2022 · 0 comments
Open

Memory Bleed? #43

ColinChisholm opened this issue Jul 25, 2022 · 0 comments

Comments

@ColinChisholm
Copy link

ColinChisholm commented Jul 25, 2022

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.

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

1 participant