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

FFmpeg占用内存过高,释放不及时 #380

Open
fsqinghuayu opened this issue May 23, 2024 · 5 comments
Open

FFmpeg占用内存过高,释放不及时 #380

fsqinghuayu opened this issue May 23, 2024 · 5 comments

Comments

@fsqinghuayu
Copy link

20240523-105846
连续调用/videos的情况下,FFmpeg 释放会不及时,导致内存占用越来越高,最后OOM重启

@harry0703
Copy link
Owner

请问你用的是什么版本?最新的1.1.9吗?
ffmpeg未及时释放的问题,在之前的版本中已经修复过了。

@fsqinghuayu
Copy link
Author

噢噢,我还用着1.1.5的版本,我拉一下最新的代码试试

@fsqinghuayu
Copy link
Author

拉了最新的代码还是存在内存释放不了的情况,我参考了Zulko/moviepy#823 手动del,发现这样可能可以更快的释放出ffmpeg占用的内存 @harry0703

@guo-zh
Copy link

guo-zh commented Jul 23, 2024

拉了最新的代码还是存在内存释放不了的情况,我参考了Zulko/moviepy#823 手动del,发现这样可能可以更快的释放出ffmpeg占用的内存 @harry0703

请教您都改了哪些代码?

@MRchenao
Copy link

同样请教是修改了哪些代码,释放了内存 @fsqinghuayu

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

4 participants