Reindl, The issue is that the system was dedicated to recording the video. Usually the memory consumption baseline is around 8MB. Once there are other applications running, such a memory usage is troublesome.
As I said, this is an _embedded_ system. I was presented with these restraints, and I need to evaluate if it is possible to record videos within such restraints. Regards, --- Guilherme de Oliveira Costa Firmware Engineer - Autotrac Comercio Telecomunicacoes www.autotrac.com.br guilherme.oliveira(at)autotrac.com.br Phone: +55 61 3307 7000 (Extension 2665) -----Mensagem original----- De: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] Em nome de Reindl Harald Enviada em: sexta-feira, 28 de abril de 2017 11:59 Para: ffmpeg-user@ffmpeg.org Assunto: Re: [FFmpeg-user] Memory usage growing when using ffmpeg. Is this expected? Am 28.04.2017 um 16:52 schrieb Guilherme de Oliveira Costa: > I am using ffmpeg record a video from a webcam, but the memory usage is very > high, and keeps increasing with video length. very high is relative > For example, I use an embedded device with 64 MB of RAM, and when I recorded > a 30 minute video, I was left with 2MB of RAM in the last minutes of the > recording. and it did not abort with a out-of-memory on a 64 MB device and so finished - what to complain then - memory is there to be used and 64 MB in 2017 i would not expect to run anything which does really some work there are even not much systems booting with 64 MB todays when every clock has 1 GB or more > I used valgrind to check for memory leaks, but I only found a 24 byte leak > when the program finishes. Is this memory consumption expected for ffmpeg? if there would be memory leaks you would end with OOM very large on such a device _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". Esta mensagem e qualquer anexo a ela são documentos confidenciais e direcionados exclusivamente ao(s) destinatário(s). Qualquer uso, desvio, sonegação, supressão, revelação ou divulgação não autorizada é proibida e sujeita às sanções e/ou reparações legais por ato ilícito (Código Penal, Artigos 151 e 152). Caso não seja um dos destinatários expressamente indicados, por favor entre em contato com o remetente, respondendo este e-mail e destrua quaisquer cópias da mensagem original. Qualquer opinião, crítica ou análise descrita nesta mensagem é de responsabilidade única do remetente, a menos quando estiver explicitamente expresso que seja da empresa remetente. This message and any attachment are confidential information for the sole use of the intended recipients. Any unauthorized use, deviation, withholdment, suppression, disclosure or distribution is prohibited and is subjected to legal sanctions and/or compensations per illicit act (Penal Code, articles 151 and 152). If you are not one of the intended recipients, please contact the sender by reply e-mail and destroy any copy of the original message. Any view, comment or analysis expressed in this message is sole responsibility from the sender, except when it’s specifically expressed that it’s the view, comment or analysis of the company. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".