memory leak in rtpjitterbuffer

Sebastian Dröge sebastian at centricular.com
Thu Dec 22 12:29:47 UTC 2016


On Wed, 2016-12-21 at 19:06 -0800, Vnd wrote:
> Hi,
> 
> I am using similar pipeline as given below in my application to transcode
> RTP video. 
> 
> 
> gst-launch-1.0 udpsrc multicast-iface=eno2 uri=udp://239.0.11.11:6000 !
> application/x-rtp,payload=33,clock-rate=90000 ! rtpjitterbuffer latency=2000
> ! rtpmp2tdepay ! decodebin name=dec dec.! video/x-raw ! fakesink dec.!
> audio/x-raw ! fakesink
> 
> Above pipeline has memory leak. Memory reaches 90% within few hours and
> application crashes. Memory increase rate is random it is not linear,
> behaviour is not same across multiple runs. 
> I used GST_TRACE and valagrind tools to find out memory leak, but tools are
> not reporting anything

How are you running this in valgrind? With --leak-check=full and once
the application stops, valgrind reports no (big) memory leaks?

> When I remove  rtpjitterbuffer  from the pipeline memory used is not
> increasing.

Check if the rtpjitterbuffer is continuously growing for whatever
reason. Also check if valgrind's massif tool shows you something more
useful.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161222/2a3820df/attachment.sig>


More information about the gstreamer-devel mailing list