GNOME Bugzilla – Bug 98012
gnomevfssrc leaks memory
Last modified: 2004-12-22 21:47:04 UTC
This script doesn't leak memory: ./gst-launch --gst-scheduler=basicomega -Xoffset filesrc location=$1 ! mpegdemux sync=false name=foo video_%02d! { queue ! mpeg2dec ! { queue ! colorspace ! xvideosink } } foo.audio_%02d!{ queue ! mad ! { queue ! osssink } } However, when i try to play the same MPEG1 film via libgstplay (gst-player or my own player linked against libgstplay) then i leak memory at about 1M per 10 seconds.
I have observed the leak, then it stopped leaking for no apparent reason. Could you please supply a url to an mpeg which displays this?
i tested with filesrc instead of gnomevfssrc and the leak disappeared. Maybe i am running old versions? debian linux 2.4.19 i386 libgnomevfs2-common 2.0.2-7 libgnomevfs2-0 2.0.4-1 libgnomevfs2-dev 2.0.4-1 Easy to reproduce: gst-launch filesrc location=/local/aleader/original/nausicaa1.mpg ! mpegdemux gst-launch gnomevfssrc location=/local/aleader/original/nausicaa1.mpg ! mpegdemux If these two commands have the same memory profile then close this bug as FIXED.
Walters, I saw that some gnome-vfs memleaks issues where fixed inside gnome-vfs recently, could it be that those memleaks fixed there are the ones we have been seeing here?
Yeah, I believe this bug is fixed.