2013/2/23 Rob Canning <r...@spc.org>:
> On 02/23/2013 07:07 PM, Romain Beauxis wrote:
>> Hi Rob,
> hi!
>>
>> 2013/2/22 Romain Beauxis <to...@rastageeks.org>:
>>> Hi,
>>>
>>> 2013/2/22 Rob Canning <r...@spc.org>:
>>>> not sure if a memory leak is the correct term but my .liq script starts
>>>> of using
>>>> 15% memory (1GB) and gradually sneaks up until it consumes all the memory
>>>> takes a few hours... input.gstreamer is involved in the script - wonder
>>>> is it related to that or some else wrong in my script?
>>>>
>>>> http://pastebin.com/i7KHfgwV
>>> Shit, thanks, I can totally reproduce with:
>>>     ./liquidsoap
>>> 'output.ao(fallible=true,input.gstreamer.audio(pipeline="uridecodebin
>>> uri=http://radiopi.org:8080/hiphop";))'
>> I've been testing gstreamer input. I've added a "max" parameter to
>> avoid buffer overruns.
> ok i'll see if that helps... do you mean you added something to the
> pipeline? if so what exactly? or do you mean you added this max
> parameter to the source code and i need to recompile?

You need to recompile.

>> Appart from that, all memory management on this seems to be ok. It
>> appears that a) gstreamer consumes qui a lot of memory and b) its
>> memory management is funky in that memory will increase for a period
>> of time and then decrease, probably after gstreams runs some kind of
>> GC on it.
> well over the course of a day it starts eating into my swap space and i
> have to kill it so i'm not sure if it decreases eventually... or maybe
> you are talking about after this "max" thing?

The max thing is internal to liquidsoap and to avoid cases where
gstreamer sends us too much data.

I would recommend trying with only one input and monitoring its memory
footprint before scaling to multiple inputs..

Romain

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to