Shmsink stream does not release memory

LC lienes.cirules at gmail.com
Wed May 17 07:13:52 UTC 2017


Hello, 

I have a stream on shmsink: rtspsrc latency=100
location=rtsp://192.168.x.xx:xxx/H.264/media.smp ! rtph264depay ! h264parse
! avdec_h264 ! videorate ! videoscale ! videoconvert !
video/x-raw,width=1920,height=1080,framerate=50/1,format=BGR ! shmsink
socket-path=/tmp/rtspfeed1 buffer-time=0 wait-for-connection=false. 

When i open it i got 2GB Virtual Memory. When i close that stream,  unref
pipeline pointer, flush the bus, unref, i still got very high virtual
memory. About 1.7GB. I checked that shared memory socket by that name does
not exists there anymore, so i think that virtual memory should decrease a
lot. 

When i open the same stream again, virtual memory grows from 1,7GB up to 2GB
. 

What may cause that Virtual memory is not freed ?
Maybe the way i release the pipeline and pipeline resources is wrong ?

Thanks!




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Shmsink-stream-does-not-release-memory-tp4683020.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list