Hello!
I try use GStreamer 10.2 at board IMX6. My pipeline have view: gst-launch-1.0 -vvv alsasrc name=alsasrcstereo device=stereo ! deinterleave name=deinterleave_in interleave name=interleave_out ! "audio/x-raw,channels=2,channel-mask=(bitmask)0x3" ! alsasink device=stereo sync=false deinterleave_in.src_0 ! tee name=tee_stereo_in_pre ! queue name=selflistening_channel1_queue ! audiomixer name=audiomixer_channel1 ! volume name=channel1_out_volume mute=false ! "audio/x-raw,channels=1,channel-mask=(bitmask)0x1" ! interleave_out.sink_0 deinterleave_in.src_1 ! tee name=tee_speaker_in ! queue name=selflistening_speaker_queue ! volume mute=true ! audiomixer name=audiomixer_speaker ! volume name=volume_speaker_out mute=false ! "audio/x-raw,channels=1,channel-mask=(bitmask)0x2" ! interleave_out.sink_1 After run an gst-launch-1.0 memory allocation in the HTOP is 92008 bytes, but it value slowly increase. The HTOP show increase virtual memory allocation every 40...50 secs at 976 bytes. So I think somewhere is memory leak. Where this can happen? What tools and how can I find out? Please help! |
Le vendredi 10 février 2017 à 05:15 -0800, _dmp a écrit :
> gst-launch-1.0 -vvv alsasrc name=alsasrcstereo device=stereo ! > deinterleave name=deinterleave_in interleave name=interleave_out > ! > "audio/x-raw,channels=2,channel-mask=(bitmask)0x3" ! alsasink > device=stereo > sync=false deinterleave_in.src_0 ! tee > name=tee_stereo_in_pre > ! queue name=selflistening_channel1_queue ! audiomixer > name=audiomixer_channel1 ! volume name=channel1_out_volume > mute=false ! "audio/x-raw,channels=1,channel-mask=(bitmask)0x1" ! > interleave_out.sink_0 deinterleave_in.src_1 ! tee > name=tee_speaker_in ! > queue name=selflistening_speaker_queue ! volume mute=true ! > audiomixer name=audiomixer_speaker ! volume > name=volume_speaker_out > mute=false ! "audio/x-raw,channels=1,channel-mask=(bitmask)0x2" ! > interleave_out.sink_1 code, the more its readable, the better the help will be. > > After run an gst-launch-1.0 memory allocation in the HTOP is 92008 > bytes, > but it value slowly increase. > The HTOP show increase virtual memory allocation every 40...50 secs > at 976 > bytes. So I think somewhere is memory leak. > > Where this can happen? What tools and how can I find out? Option a) the leaks tracer integrated into GStreamer: GST_DEBUG="GST_TRACER:7" GST_TRACERS=leaks GST_LEAKS_TRACER_STACK_TRACE=1 gst-launch-1.0 ... Option b) use valgrind. You'll need GStreamer suppression file: https://cgit.freedesktop.org/gstreamer/common/plain/gst.supp _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (188 bytes) Download Attachment |
Free forum by Nabble | Edit this page |