[ http://dev.sourcefabric.org/browse/LS-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27406#action_27406 ]
Samuel Mimram commented on LS-636: ---------------------------------- The leak is clearly coming from the Generator used for buffering decoded data... If I replace length in From_audio_video by (** Total length. *) let length t = Printf.printf "diff length: %d\n%!" (Generator.length t.audio - Generator.length t.video); min (Generator.length t.audio) (Generator.length t.video) I get a "diff length" growing towards -infty... (so it seems that some video frames are leaking...) > Memory leak with theora decoding > -------------------------------- > > Key: LS-636 > URL: http://dev.sourcefabric.org/browse/LS-636 > Project: Liquidsoap > Issue Type: Bug > Reporter: Samuel Mimram > Priority: Major > Attachments: vid.valgrind.zip > > > As reported on the ML ( > http://www.mail-archive.com/savonet-users@lists.sourceforge.net/msg06966.html > ), the following script makes the memory used by Liq grow linearly (memory > leak highly suspected...). > set("frame.video.channels",2) > set("frame.audio.samplerate",48000) > set("frame.video.width",320) > set("frame.video.height",240) > set("frame.video.samplerate",25) > s = single("big_buck_bunny_720p_stereo.ogg") > s = mksafe(s) > output.sdl(drop_audio(s)) > The video used above can be found here: > http://www.bigbuckbunny.org/index.php/download/ > I'll try to investigate that soon... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl