首页 > 解决方案 > ffmpeg + Xvfb eats all the memory after few hours

问题描述

I'm using ffmpeg to record a Xvfb screen. It works fine at the beginning. The system keep stable at 50% CPU and 2.5 Gb RAM for 1-2 hours.

After that, it suddenly eats all the memory like this https://imgur.com/pbWuTVs . If I kill the ffmpeg process and start it again (keep the Xvfb process), the memory released on Xvfb process too : https://imgur.com/C2ornhm . But it keep increase the usage memory again, until crashed because out of memory.

Anyone can help ?

标签: google-chromeffmpeggoogle-chrome-headlessxvfb

解决方案


推荐阅读